#8F5CEF

Closest named color: Purpley (#8756E4). oklch(60.4% 0.211 295.3), rgb(143, 92, 239).

Aa

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

About this color

#8F5CEF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.211 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.025 away. Black text reads best on it, at 4.94:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.211)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.94:1
White text4.24:1

Values

HEX#8F5CEF
RGBrgb(143, 92, 239)
HSLhsl(261, 82%, 65%)
OKLCHoklch(60.4% 0.211 295.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 #8F5CEF 4.24:1 AA large text Lc -74.3 Content text, not long reading
Black text on #8F5CEF 4.94:1 AA Lc 35.2 Non-text elements, placeholder text
#8F5CEF text on white 4.24:1 AA large text Lc 68.8 Content text, not long reading
#8F5CEF text on black 4.94:1 AA Lc -32.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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C5B3FC

    oklch(80.8% 0.103 295.3)

  5. Step 400

    400

    #AA88FB

    oklch(70.7% 0.165 295.5)

  6. Step 500

    500 (this color)

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  7. Step 600

    600

    #8345E7

    oklch(55.6% 0.229 295.4)

  8. Step 700

    700

    #6F35C9

    oklch(49.1% 0.213 295.2)

  9. Step 800

    800

    #5A2EA2

    oklch(42.7% 0.175 295.3)

  10. Step 900

    900

    #4A2B81

    oklch(37.8% 0.138 295.6)

  11. Step 950

    950

    #2B1A4B

    oklch(26.9% 0.087 296)

Export this scale for Tailwind in the Tailwind colors tool

#8F5CEF 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)#007CF40.141
Deuteranopia (no green cones)#0079EC0.141
Tritanopia (no blue cones)#767D9D0.166
Achromatopsia (no color)#7B7B7B0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F5CEF

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  • #7F8A00

    #7F8A00

    oklch(60.4% 0.137 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F5CEF

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  • #4375FD

    #4375FD

    oklch(60.5% 0.21 265.3)

  • #BD46C4

    #BD46C4

    oklch(60.4% 0.211 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #8F5CEF

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  • #A37B00

    #A37B00

    oklch(60.6% 0.124 85.7)

  • #009D2C

    #009D2C

    oklch(60.5% 0.189 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F5CEF

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  • #C36400

    #C36400

    oklch(60.4% 0.15 55)

  • #00977E

    #00977E

    oklch(60.4% 0.113 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F5CEF

    #8F5CEF

    oklch(60.4% 0.211 295.3)

  • #E43539

    #E43539

    oklch(60.4% 0.211 25.2)

  • #7F8A00

    #7F8A00

    oklch(60.4% 0.137 115.3)

  • #00939F

    #00939F

    oklch(60.5% 0.103 205)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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