#8F5CCA

Closest named color: Amethyst (#9B5FC0). oklch(58% 0.167 303), rgb(143, 92, 202).

Aa

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

About this color

#8F5CCA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.167 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.029 away. White text reads best on it, at 4.61:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.167)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.55:1
White text4.61:1

Values

HEX#8F5CCA
RGBrgb(143, 92, 202)
HSLhsl(268, 51%, 58%)
OKLCHoklch(58% 0.167 303)

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 #8F5CCA 4.61:1 AA Lc -77.2 Fine for body text
Black text on #8F5CCA 4.55:1 AA Lc 32.4 Non-text elements, placeholder text
#8F5CCA text on white 4.61:1 AA Lc 71.7 Content text, not long reading
#8F5CCA text on black 4.55:1 AA Lc -29.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB5E9

    oklch(80.8% 0.075 303.2)

  5. Step 400

    400

    #B08DDE

    oklch(70.6% 0.121 303.3)

  6. Step 500

    500

    #9D6FD5

    oklch(63.2% 0.154 303.1)

  7. Step 600

    600 (this color)

    #8F5CCA

    oklch(58% 0.167 303)

  8. Step 700

    700

    #7344A7

    oklch(49% 0.155 303)

  9. Step 800

    800

    #5E3988

    oklch(42.8% 0.129 303)

  10. Step 900

    900

    #4D326D

    oklch(37.8% 0.1 303)

  11. Step 950

    950

    #2D1E40

    oklch(27.1% 0.063 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#8F5CCA 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)#3374CE0.126
Deuteranopia (no green cones)#4475C70.115
Tritanopia (no blue cones)#84718A0.125
Achromatopsia (no color)#7575750.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F5CCA

    #8F5CCA

    oklch(58% 0.167 303)

  • #6B8700

    #6B8700

    oklch(58% 0.142 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F5CCA

    #8F5CCA

    oklch(58% 0.167 303)

  • #5C6EDB

    #5C6EDB

    oklch(58% 0.166 273.1)

  • #B14DA4

    #B14DA4

    oklch(57.9% 0.167 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #8F5CCA

    #8F5CCA

    oklch(58% 0.167 303)

  • #937800

    #937800

    oklch(58.1% 0.119 93.1)

  • #00934D

    #00934D

    oklch(58.1% 0.15 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F5CCA

    #8F5CCA

    oklch(58% 0.167 303)

  • #B06600

    #B06600

    oklch(58.1% 0.132 63.2)

  • #008E80

    #008E80

    oklch(58.1% 0.104 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F5CCA

    #8F5CCA

    oklch(58% 0.167 303)

  • #CA4A32

    #CA4A32

    oklch(58% 0.168 32.7)

  • #6B8700

    #6B8700

    oklch(58% 0.142 123)

  • #00899E

    #00899E

    oklch(57.9% 0.101 213.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8F5CCA.

Similar named colors

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

Use #8F5CCA 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.