#7E7CA8

Closest named color: Lavender Gray (#7E7F9A). oklch(60.5% 0.066 286.3), rgb(126, 124, 168).

Aa

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

About this color

#7E7CA8 is a medium-dark, muted purple. In OKLCH its lightness is 60%, its chroma 0.066 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.026 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.066)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.33:1
White text3.93:1

Values

HEX#7E7CA8
RGBrgb(126, 124, 168)
HSLhsl(243, 20%, 57%)
OKLCHoklch(60.5% 0.066 286.3)

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 #7E7CA8 3.93:1 AA large text Lc -72.2 Content text, not long reading
Black text on #7E7CA8 5.33:1 AA Lc 37.3 Non-text elements, placeholder text
#7E7CA8 text on white 3.93:1 AA large text Lc 66.7 Content text, not long reading
#7E7CA8 text on black 5.33:1 AA Lc -34.9 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D8E5

    oklch(88.6% 0.018 286)

  4. Step 300

    300

    #BEBED5

    oklch(80.9% 0.032 285.7)

  5. Step 400

    400

    #9D9CC0

    oklch(70.6% 0.052 286.3)

  6. Step 500

    500 (this color)

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  7. Step 600

    600

    #706D9C

    oklch(55.6% 0.072 286.7)

  8. Step 700

    700

    #5D5B85

    oklch(49.1% 0.067 285.8)

  9. Step 800

    800

    #4C4A6C

    oklch(42.6% 0.056 286.5)

  10. Step 900

    900

    #3F3E58

    oklch(37.6% 0.044 285.8)

  11. Step 950

    950

    #252533

    oklch(27.1% 0.026 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E7CA8 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)#7181AA0.021
Deuteranopia (no green cones)#707FA70.021
Tritanopia (no blue cones)#75848B0.058
Achromatopsia (no color)#8080800.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7CA8

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  • #868455

    #868455

    oklch(60.3% 0.066 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7CA8

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  • #6883A9

    #6883A9

    oklch(60.4% 0.066 257)

  • #92769D

    #92769D

    oklch(60.6% 0.066 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E7CA8

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  • #997C54

    #997C54

    oklch(60.4% 0.066 74.9)

  • #6F8B63

    #6F8B63

    oklch(60.4% 0.067 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7CA8

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  • #A37560

    #A37560

    oklch(60.3% 0.066 45.5)

  • #598F79

    #598F79

    oklch(60.6% 0.067 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7CA8

    #7E7CA8

    oklch(60.5% 0.066 286.3)

  • #A67174

    #A67174

    oklch(60.4% 0.067 15.5)

  • #868455

    #868455

    oklch(60.3% 0.066 106.1)

  • #4E8E8F

    #4E8E8F

    oklch(60.5% 0.066 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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