#7F7CC2

Closest named color: Deep Lilac (#966EBD). oklch(61.8% 0.105 284.9), rgb(127, 124, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.56:1
White text3.77:1

Values

HEX#7F7CC2
RGBrgb(127, 124, 194)
HSLhsl(243, 36%, 62%)
OKLCHoklch(61.8% 0.105 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 #7F7CC2 3.77:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7F7CC2 5.56:1 AA Lc 38.9 Non-text elements, placeholder text
#7F7CC2 text on white 3.77:1 AA large text Lc 65.2 Content text, not long reading
#7F7CC2 text on black 5.56:1 AA Lc -36.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D7D7EC

    oklch(88.6% 0.029 285.8)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400

    #9B9AD2

    oklch(70.8% 0.081 284.9)

  6. Step 500

    500 (this color)

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  7. Step 600

    600

    #6D68B3

    oklch(55.5% 0.114 285.1)

  8. Step 700

    700

    #5B579A

    oklch(49.2% 0.105 284.5)

  9. Step 800

    800

    #4A477D

    oklch(42.7% 0.088 284.5)

  10. Step 900

    900

    #3E3C64

    oklch(37.7% 0.068 285)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F7CC2 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)#6685C50.038
Deuteranopia (no green cones)#6481C00.038
Tritanopia (no blue cones)#6E89960.090
Achromatopsia (no color)#8383830.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7CC2

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  • #8F8936

    #8F8936

    oklch(61.8% 0.105 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7CC2

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  • #5988C3

    #5988C3

    oklch(61.8% 0.104 254.7)

  • #9D72B1

    #9D72B1

    oklch(61.9% 0.104 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F7CC2

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  • #AA7C35

    #AA7C35

    oklch(61.9% 0.104 75.3)

  • #6A9451

    #6A9451

    oklch(61.9% 0.106 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7CC2

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  • #B9704F

    #B9704F

    oklch(61.8% 0.104 44.7)

  • #3B9976

    #3B9976

    oklch(61.7% 0.104 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7CC2

    #7F7CC2

    oklch(61.8% 0.105 284.9)

  • #BC6A71

    #BC6A71

    oklch(61.8% 0.105 15.1)

  • #8F8936

    #8F8936

    oklch(61.8% 0.105 105.2)

  • #069999

    #069999

    oklch(61.9% 0.105 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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