#7C7EA8

Closest named color: Lavender Gray (#7E7F9A). oklch(60.7% 0.064 282.2), rgb(124, 126, 168).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamuted (0.064)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.40:1
White text3.88:1

Values

HEX#7C7EA8
RGBrgb(124, 126, 168)
HSLhsl(237, 20%, 57%)
OKLCHoklch(60.7% 0.064 282.2)

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 #7C7EA8 3.88:1 AA large text Lc -71.8 Content text, not long reading
Black text on #7C7EA8 5.40:1 AA Lc 37.8 Non-text elements, placeholder text
#7C7EA8 text on white 3.88:1 AA large text Lc 66.3 Content text, not long reading
#7C7EA8 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BDBFD5

    oklch(81% 0.031 281.6)

  5. Step 400

    400

    #9B9DBF

    oklch(70.6% 0.049 282.4)

  6. Step 500

    500 (this color)

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  7. Step 600

    600

    #6D6E9B

    oklch(55.5% 0.07 282.9)

  8. Step 700

    700

    #5B5C85

    oklch(49.1% 0.065 282.6)

  9. Step 800

    800

    #4A4B6C

    oklch(42.6% 0.054 282.5)

  10. Step 900

    900

    #3E3F57

    oklch(37.7% 0.041 282.4)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#7C7EA8 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)#7383AA0.017
Deuteranopia (no green cones)#7180A70.016
Tritanopia (no blue cones)#72858C0.056
Achromatopsia (no color)#8181810.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7EA8

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  • #8A8457

    #8A8457

    oklch(60.7% 0.063 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7EA8

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  • #6785A8

    #6785A8

    oklch(60.7% 0.064 252.7)

  • #8F789E

    #8F789E

    oklch(60.8% 0.062 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #7C7EA8

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  • #9A7C58

    #9A7C58

    oklch(60.6% 0.063 71.3)

  • #748B63

    #748B63

    oklch(60.8% 0.064 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7EA8

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  • #A47664

    #A47664

    oklch(60.7% 0.064 42.3)

  • #5F8F77

    #5F8F77

    oklch(60.8% 0.064 162)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7EA8

    #7C7EA8

    oklch(60.7% 0.064 282.2)

  • #A57378

    #A57378

    oklch(60.8% 0.064 12.5)

  • #8A8457

    #8A8457

    oklch(60.7% 0.063 101.6)

  • #528F8C

    #528F8C

    oklch(60.8% 0.064 191.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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