#8F7CE2

Closest named color: Medium Purple (#9370DB). oklch(64.8% 0.149 290.2), rgb(143, 124, 226).

Aa

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

About this color

#8F7CE2 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.149 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.029 away. Black text reads best on it, at 6.14:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.149)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.14:1
White text3.41:1

Values

HEX#8F7CE2
RGBrgb(143, 124, 226)
HSLhsl(251, 64%, 69%)
OKLCHoklch(64.8% 0.149 290.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 #8F7CE2 3.41:1 AA large text Lc -67.0 Content text, not long reading
Black text on #8F7CE2 6.14:1 AA Lc 42.6 Non-text elements, placeholder text
#8F7CE2 text on white 3.41:1 AA large text Lc 61.5 Content text, not long reading
#8F7CE2 text on black 6.14:1 AA Lc -40.2 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400

    #A093E4

    oklch(70.6% 0.117 290.4)

  6. Step 500

    500 (this color)

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  7. Step 600

    600

    #755DCA

    oklch(55.6% 0.162 290.2)

  8. Step 700

    700

    #624CAE

    oklch(49% 0.15 290.1)

  9. Step 800

    800

    #503F8D

    oklch(42.7% 0.124 290.2)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#8F7CE2 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)#588DE60.076
Deuteranopia (no green cones)#5989E00.073
Tritanopia (no blue cones)#7A90A40.124
Achromatopsia (no color)#8B8B8B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F7CE2

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  • #949500

    #949500

    oklch(64.8% 0.142 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F7CE2

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  • #578DE8

    #578DE8

    oklch(64.9% 0.148 260.2)

  • #B66EC6

    #B66EC6

    oklch(64.9% 0.148 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #8F7CE2

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  • #B98400

    #B98400

    oklch(64.9% 0.134 80.2)

  • #58A448

    #58A448

    oklch(64.8% 0.149 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F7CE2

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  • #D46F2C

    #D46F2C

    oklch(64.8% 0.149 50.2)

  • #00A783

    #00A783

    oklch(64.8% 0.128 170.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F7CE2

    #8F7CE2

    oklch(64.8% 0.149 290.2)

  • #DA6468

    #DA6468

    oklch(64.8% 0.148 20.1)

  • #949500

    #949500

    oklch(64.8% 0.142 110.3)

  • #00A2A9

    #00A2A9

    oklch(64.7% 0.11 200.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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