#7E7CB9

Closest named color: Deep Lilac (#966EBD). oklch(61.3% 0.092 284.9), rgb(126, 124, 185).

Aa

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

About this color

#7E7CB9 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.092 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.051 away. Black text reads best on it, at 5.47:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.47:1
White text3.83:1

Values

HEX#7E7CB9
RGBrgb(126, 124, 185)
HSLhsl(242, 30%, 61%)
OKLCHoklch(61.3% 0.092 284.9)

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 #7E7CB9 3.83:1 AA large text Lc -71.3 Content text, not long reading
Black text on #7E7CB9 5.47:1 AA Lc 38.2 Non-text elements, placeholder text
#7E7CB9 text on white 3.83:1 AA large text Lc 65.8 Content text, not long reading
#7E7CB9 text on black 5.47:1 AA Lc -35.8 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D7D7E9

    oklch(88.5% 0.025 285.9)

  4. Step 300

    300

    #BDBDDD

    oklch(80.9% 0.045 285.4)

  5. Step 400

    400

    #9B9BCC

    oklch(70.7% 0.071 284.4)

  6. Step 500

    500 (this color)

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  7. Step 600

    600

    #6D6AAB

    oklch(55.5% 0.1 284.8)

  8. Step 700

    700

    #5B5893

    oklch(49% 0.093 284.7)

  9. Step 800

    800

    #4B4877

    oklch(42.6% 0.077 285.6)

  10. Step 900

    900

    #3E3D60

    oklch(37.7% 0.059 284.5)

  11. Step 950

    950

    #242438

    oklch(27% 0.037 283.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E7CB9 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)#6A84BB0.032
Deuteranopia (no green cones)#6880B70.031
Tritanopia (no blue cones)#6F87920.079
Achromatopsia (no color)#8282820.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7CB9

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  • #8C8742

    #8C8742

    oklch(61.3% 0.091 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7CB9

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  • #5D86BA

    #5D86BA

    oklch(61.2% 0.092 254.8)

  • #9973AA

    #9973AA

    oklch(61.3% 0.092 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #7E7CB9

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  • #A47C41

    #A47C41

    oklch(61.3% 0.091 75.3)

  • #6C9057

    #6C9057

    oklch(61.2% 0.091 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7CB9

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  • #B27255

    #B27255

    oklch(61.3% 0.091 45)

  • #489576

    #489576

    oklch(61.2% 0.091 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7CB9

    #7E7CB9

    oklch(61.3% 0.092 284.9)

  • #B46C72

    #B46C72

    oklch(61.2% 0.092 14.8)

  • #8C8742

    #8C8742

    oklch(61.3% 0.091 105)

  • #2E9595

    #2E9595

    oklch(61.3% 0.091 195)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7E7CB9 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.