#797CBA

Closest named color: Faded Blue (#658CBB). oklch(60.9% 0.094 281.1), rgb(121, 124, 186).

Aa

Black text reads best on this color (5.40:1).

About this color

#797CBA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.094 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Faded Blue (#658CBB), ΔE 0.048 away. Black text reads best on it, at 5.40:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameFaded Blue (#658CBB)
Black text5.40:1
White text3.88:1

Values

HEX#797CBA
RGBrgb(121, 124, 186)
HSLhsl(237, 32%, 60%)
OKLCHoklch(60.9% 0.094 281.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #797CBA 3.88:1 AA large text Lc -71.8 Content text, not long reading
Black text on #797CBA 5.40:1 AA Lc 37.8 Non-text elements, placeholder text
#797CBA text on white 3.88:1 AA large text Lc 66.3 Content text, not long reading
#797CBA text on black 5.40:1 AA Lc -35.4 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDE

    oklch(81% 0.045 281.1)

  5. Step 400

    400

    #989CCE

    oklch(70.8% 0.073 280.8)

  6. Step 500

    500 (this color)

    #797CBA

    oklch(60.9% 0.094 281.1)

  7. Step 600

    600

    #696BAD

    oklch(55.5% 0.102 281.2)

  8. Step 700

    700

    #585995

    oklch(49.1% 0.095 281.6)

  9. Step 800

    800

    #484979

    oklch(42.7% 0.079 281.6)

  10. Step 900

    900

    #3C3D61

    oklch(37.6% 0.061 281.8)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#797CBA with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6984BD0.028
Deuteranopia (no green cones)#667FB80.026
Tritanopia (no blue cones)#6788920.083
Achromatopsia (no color)#8181810.094

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #797CBA

    #797CBA

    oklch(60.9% 0.094 281.1)

  • #8F853D

    #8F853D

    oklch(61% 0.094 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797CBA

    #797CBA

    oklch(60.9% 0.094 281.1)

  • #5786B9

    #5786B9

    oklch(60.8% 0.094 251.5)

  • #9572AC

    #9572AC

    oklch(60.8% 0.094 311.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #797CBA

    #797CBA

    oklch(60.9% 0.094 281.1)

  • #A6793F

    #A6793F

    oklch(60.9% 0.094 71.4)

  • #6F8F52

    #6F8F52

    oklch(61% 0.094 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797CBA

    #797CBA

    oklch(60.9% 0.094 281.1)

  • #B36F56

    #B36F56

    oklch(60.9% 0.094 40.9)

  • #499471

    #499471

    oklch(60.8% 0.093 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797CBA

    #797CBA

    oklch(60.9% 0.094 281.1)

  • #B36B75

    #B36B75

    oklch(61% 0.093 11.2)

  • #8F853D

    #8F853D

    oklch(61% 0.094 101.5)

  • #2A9590

    #2A9590

    oklch(61% 0.094 190.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #797CBA, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #797CBA in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.