#8F7CD8

Closest named color: Medium Purple (#9370DB). oklch(64.3% 0.135 291.6), rgb(143, 124, 216).

Aa

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

About this color

#8F7CD8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.135 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 6.04:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.04:1
White text3.47:1

Values

HEX#8F7CD8
RGBrgb(143, 124, 216)
HSLhsl(252, 54%, 67%)
OKLCHoklch(64.3% 0.135 291.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 #8F7CD8 3.47:1 AA large text Lc -67.7 Content text, not long reading
Black text on #8F7CD8 6.04:1 AA Lc 41.9 Non-text elements, placeholder text
#8F7CD8 text on white 3.47:1 AA large text Lc 62.2 Content text, not long reading
#8F7CD8 text on black 6.04:1 AA Lc -39.5 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1BAE9

    oklch(81% 0.066 291.7)

  5. Step 400

    400

    #A194DD

    oklch(70.6% 0.106 291.6)

  6. Step 500

    500 (this color)

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  7. Step 600

    600

    #765FC1

    oklch(55.5% 0.148 291.7)

  8. Step 700

    700

    #644EA7

    oklch(49.1% 0.138 291.9)

  9. Step 800

    800

    #514187

    oklch(42.8% 0.113 291.4)

  10. Step 900

    900

    #43376C

    oklch(37.6% 0.089 292)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#8F7CD8 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)#5F8BDB0.069
Deuteranopia (no green cones)#6088D60.067
Tritanopia (no blue cones)#7D8DA00.111
Achromatopsia (no color)#8989890.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F7CD8

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  • #909418

    #909418

    oklch(64.2% 0.135 111.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F7CD8

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  • #5E8BDF

    #5E8BDF

    oklch(64.3% 0.136 261.9)

  • #B26FBE

    #B26FBE

    oklch(64.2% 0.135 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #8F7CD8

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  • #B58300

    #B58300

    oklch(64.2% 0.133 81.6)

  • #59A151

    #59A151

    oklch(64.3% 0.135 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F7CD8

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  • #CC7236

    #CC7236

    oklch(64.3% 0.135 51.5)

  • #00A584

    #00A584

    oklch(64.3% 0.125 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F7CD8

    #8F7CD8

    oklch(64.3% 0.135 291.6)

  • #D36868

    #D36868

    oklch(64.4% 0.135 21.6)

  • #909418

    #909418

    oklch(64.2% 0.135 111.6)

  • #00A0A9

    #00A0A9

    oklch(64.2% 0.109 201.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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