#7F5FCC

Closest named color: Light Indigo (#6D5ACF). oklch(57% 0.162 294.2), rgb(127, 95, 204).

Aa

White text reads best on this color (4.76:1).

About this color

#7F5FCC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.162 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.034 away. White text reads best on it, at 4.76:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text4.41:1
White text4.76:1

Values

HEX#7F5FCC
RGBrgb(127, 95, 204)
HSLhsl(258, 52%, 59%)
OKLCHoklch(57% 0.162 294.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 #7F5FCC 4.76:1 AA Lc -78.2 Fine for body text
Black text on #7F5FCC 4.41:1 AA large text Lc 31.3 Non-text elements, placeholder text
#7F5FCC text on white 4.76:1 AA Lc 72.8 Content text, not long reading
#7F5FCC text on black 4.41:1 AA large text Lc -28.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD5F2

    oklch(88.6% 0.04 293.5)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400

    #A592E2

    oklch(70.8% 0.116 294.1)

  6. Step 500

    500

    #9074DA

    oklch(63% 0.15 294.3)

  7. Step 600

    600 (this color)

    #7F5FCC

    oklch(57% 0.162 294.2)

  8. Step 700

    700

    #684AAC

    oklch(49.1% 0.151 294.3)

  9. Step 800

    800

    #543D8B

    oklch(42.6% 0.125 294.1)

  10. Step 900

    900

    #45356F

    oklch(37.6% 0.097 294)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F5FCC 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)#3074D00.102
Deuteranopia (no green cones)#3771CA0.097
Tritanopia (no blue cones)#6C758C0.130
Achromatopsia (no color)#7373730.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5FCC

    #7F5FCC

    oklch(57% 0.162 294.2)

  • #777F00

    #777F00

    oklch(57% 0.128 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5FCC

    #7F5FCC

    oklch(57% 0.162 294.2)

  • #4571D6

    #4571D6

    oklch(57% 0.163 264.2)

  • #A450AC

    #A450AC

    oklch(57% 0.162 324)

Open the analogous palette in the generator

Split complementary

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

  • #7F5FCC

    #7F5FCC

    oklch(57% 0.162 294.2)

  • #987000

    #987000

    oklch(57% 0.117 83.7)

  • #278F2F

    #278F2F

    oklch(57.1% 0.163 144.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5FCC

    #7F5FCC

    oklch(57% 0.162 294.2)

  • #B55B00

    #B55B00

    oklch(56.9% 0.142 54.2)

  • #008C73

    #008C73

    oklch(57.1% 0.108 174.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5FCC

    #7F5FCC

    oklch(57% 0.162 294.2)

  • #C54645

    #C54645

    oklch(57% 0.163 24.3)

  • #777F00

    #777F00

    oklch(57% 0.128 114.1)

  • #008892

    #008892

    oklch(57.1% 0.097 203.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F5FCC.

Similar named colors

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

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