#7F7DC2

Closest named color: Deep Lilac (#966EBD). oklch(62% 0.103 284.3), rgb(127, 125, 194).

Aa

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

About this color

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

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

Values

HEX#7F7DC2
RGBrgb(127, 125, 194)
HSLhsl(242, 36%, 63%)
OKLCHoklch(62% 0.103 284.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 #7F7DC2 3.74:1 AA large text Lc -70.4 Content text, not long reading
Black text on #7F7DC2 5.61:1 AA Lc 39.2 Non-text elements, placeholder text
#7F7DC2 text on white 3.74:1 AA large text Lc 64.9 Content text, not long reading
#7F7DC2 text on black 5.61:1 AA Lc -36.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400

    #9A9AD2

    oklch(70.7% 0.081 284.1)

  6. Step 500

    500 (this color)

    #7F7DC2

    oklch(62% 0.103 284.3)

  7. Step 600

    600

    #6C69B2

    oklch(55.6% 0.112 284)

  8. Step 700

    700

    #5B5799

    oklch(49.1% 0.104 284.7)

  9. Step 800

    800

    #4A477C

    oklch(42.6% 0.086 284.7)

  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

#7F7DC2 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)#6886C50.036
Deuteranopia (no green cones)#6582C00.036
Tritanopia (no blue cones)#6D8A960.090
Achromatopsia (no color)#8484840.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7DC2

    #7F7DC2

    oklch(62% 0.103 284.3)

  • #908938

    #908938

    oklch(62% 0.103 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7DC2

    #7F7DC2

    oklch(62% 0.103 284.3)

  • #5989C3

    #5989C3

    oklch(62.1% 0.103 253.9)

  • #9D73B1

    #9D73B1

    oklch(62% 0.102 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F7DC2

    #7F7DC2

    oklch(62% 0.103 284.3)

  • #AB7C37

    #AB7C37

    oklch(62% 0.103 74.1)

  • #6C9452

    #6C9452

    oklch(62.1% 0.103 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7DC2

    #7F7DC2

    oklch(62% 0.103 284.3)

  • #BA7151

    #BA7151

    oklch(62.1% 0.103 44.1)

  • #3F9A76

    #3F9A76

    oklch(62.1% 0.103 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7DC2

    #7F7DC2

    oklch(62% 0.103 284.3)

  • #BC6B73

    #BC6B73

    oklch(62% 0.103 14.2)

  • #908938

    #908938

    oklch(62% 0.103 104.4)

  • #119999

    #119999

    oklch(62% 0.103 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 #7F7DC2, closest first.

Similar named colors

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

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