Color #797DFC Color / Colour Code #797DFC

    This page shows the hex color code for color #797dfc (#797DFC). The colour is a blue tone with 96% saturation and 73% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #797DFC

    Color Conversions

    HEX
    #797DFC
    RGB
    rgb(121, 125, 252)
    HSL
    hsl(238, 96%, 73%)
    HSV
    hsv(238, 52%, 99%)
    CMYK
    cmyk(52%, 50%, 0%, 1%)

    Accessibility Contrast

    WCAG contrast ratios for #797DFC against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.41:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    6.15:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    2.94:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #797DFC paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 208, 238, and 268 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 238, 358, and 118 degrees.

    Color Palettes Using #797DFC

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 238 and saturation at 96%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #02044B #030896 #050DFA #696EFC #B4B6FD
    Warm Harmony

    Adjacent hues from 238 to 283 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #3037E8 #5830E8 #8630E8 #B430E8
    Cool Contrast

    Combines the base color at hue 238 with its complement at 58 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #262CD9 #D9D326 #85D926 #2CD926
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #B8B9E0 #DFB8E0 #E0B8B9 #E0DFB8 #B9E0B8

    Shades & Tints of #797DFC

    Lightness variations at hue 238 and 96% saturation.

    CSS Gradients with #797DFC

    Blue to Yellow
    linear-gradient(135deg, #797dfc, #fcf878)
    Analogous Fade
    linear-gradient(90deg, #797dfc, #b678fc)
    Deep to Light
    linear-gradient(180deg, #02055a, #a5a8fd)
    Tricolor Sweep
    linear-gradient(135deg, #787cfc, #fc787c, #7cfc78)

    Design Use Cases for #797DFC

    High-Impact Accent

    With 96% saturation, #797DFC is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Light Background Tint

    #797DFC at 73% lightness creates a gentle tinted background. Use it for section backgrounds, alert banners, or card surfaces that need to stand out from a white page without strong contrast. It adds color personality while keeping the design light and open.

    Trust & Professional Identity

    #797DFC sits in the blue range (hue 238). Blue is the world's most popular color for corporate identities because it conveys trust, stability, and competence. Use it for navigation bars, link text, form focus states, and any element where user confidence matters. Financial, healthcare, and technology brands rely heavily on this hue range.

    Gradient Pairing

    Create a gradient from #797DFC (hue 238) to its complement at hue 58. For a subtler effect, try pairing with an analogous color at hue 268. Use CSS: background: linear-gradient(135deg, #797dfc, #fcf878);

    CSS Code for #797DFC

    /* Background */
    background-color: #797dfc;
    background-color: rgb(121, 125, 252);
    background-color: hsl(238, 96%, 73%);
    /* Text */
    color: #797dfc;
    /* Border */
    border: 2px solid #797dfc;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(121, 125, 252, 0.3);
    /* CSS Variable */
    --color-primary: 238 96% 73%;

    Similar Colors

    Colors visually similar to #797DFC based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #797DFC across image editing and color design tools.

    About Color #797DFC (#797DFC)

    #797DFC is a blue color (colour) with RGB channel values of 121 red, 125 green, and 252 blue. The blue channel is dominant by a ratio of 2.1:1 over the weakest channel. In HSL terms, the hue sits at 238 degrees with 96% saturation and 73% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #797DFC is 138/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 52% cyan, 50% magenta, 0% yellow, and 1% key (black).

    The WCAG contrast ratio of #797DFC against white is 3.41:1 and against black is 6.15:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 6.15:1.

    The complementary colour #FCF878 creates maximum visual tension when paired with #797DFC. For more harmonious color combinations, use the analogous colours #78BFFC and #B678FC, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #797DFC

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #797DFC?
    #797DFC is Color #797DFC, a blue color (colour) with RGB(121, 125, 252), HSL(238, 96%, 73%), and CMYK(52%, 50%, 0%, 1%). Its perceived brightness is 138/255.
    Is #797DFC accessible for text?
    Against white, #797DFC has a contrast ratio of 3.41:1 (fails AA for normal text). Against black, it has 6.15:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #797DFC?
    The complementary colour is #FCF878 (hue 58). For subtle color combinations, use analogous colours #78BFFC and #B678FC. The triadic palette adds #FC787C and #7CFC78 for vibrant variety.
    How do I use #797DFC in CSS?
    Use any format: color: #797dfc; or rgb(121, 125, 252); or hsl(238, 96%, 73%). For CSS custom properties: --color-primary: 238 96% 73%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.