#8F7DEC

Closest named color: Periwinkle (#8E82FE). oklch(65.6% 0.161 288.6), rgb(143, 125, 236).

Aa

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

About this color

#8F7DEC is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.161 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.028 away. Black text reads best on it, at 6.31:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.161)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.31:1
White text3.32:1

Values

HEX#8F7DEC
RGBrgb(143, 125, 236)
HSLhsl(250, 74%, 71%)
OKLCHoklch(65.6% 0.161 288.6)

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 #8F7DEC 3.32:1 AA large text Lc -65.9 Content text, not long reading
Black text on #8F7DEC 6.31:1 AA Lc 43.6 Non-text elements, placeholder text
#8F7DEC text on white 3.32:1 AA large text Lc 60.5 Content text, not long reading
#8F7DEC text on black 6.31:1 AA Lc -41.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

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BEB9F1

    oklch(80.9% 0.079 288.6)

  5. Step 400

    400

    #9E93EA

    oklch(70.8% 0.125 288.6)

  6. Step 500

    500 (this color)

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  7. Step 600

    600

    #735BD1

    oklch(55.6% 0.175 288.8)

  8. Step 700

    700

    #614AB5

    oklch(49.1% 0.162 288.9)

  9. Step 800

    800

    #4F3D93

    oklch(42.7% 0.136 289)

  10. Step 900

    900

    #413575

    oklch(37.6% 0.106 288.9)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F7DEC 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)#538FF00.080
Deuteranopia (no green cones)#538AE90.078
Tritanopia (no blue cones)#7593A90.134
Achromatopsia (no color)#8D8D8D0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F7DEC

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  • #999700

    #999700

    oklch(65.7% 0.142 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F7DEC

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  • #4F90F1

    #4F90F1

    oklch(65.7% 0.16 258.3)

  • #BA6DCF

    #BA6DCF

    oklch(65.6% 0.161 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #8F7DEC

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  • #BD8500

    #BD8500

    oklch(65.6% 0.136 78.9)

  • #59A73E

    #59A73E

    oklch(65.6% 0.161 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F7DEC

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  • #DD6D25

    #DD6D25

    oklch(65.7% 0.161 48.5)

  • #00AA82

    #00AA82

    oklch(65.6% 0.132 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F7DEC

    #8F7DEC

    oklch(65.6% 0.161 288.6)

  • #E2616A

    #E2616A

    oklch(65.6% 0.161 18.5)

  • #999700

    #999700

    oklch(65.7% 0.142 108.8)

  • #00A5AA

    #00A5AA

    oklch(65.5% 0.111 198.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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