#8F74EC

Closest named color: Medium Purple (#9370DB). oklch(64% 0.174 291), rgb(143, 116, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.174)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.87:1
White text3.57:1

Values

HEX#8F74EC
RGBrgb(143, 116, 236)
HSLhsl(253, 76%, 69%)
OKLCHoklch(64% 0.174 291)

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 #8F74EC 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #8F74EC 5.87:1 AA Lc 41.0 Non-text elements, placeholder text
#8F74EC text on white 3.57:1 AA large text Lc 63.1 Content text, not long reading
#8F74EC text on black 5.87:1 AA Lc -38.6 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D9D4F7

    oklch(88.5% 0.048 291.9)

  4. Step 300

    300

    #C0B7F4

    oklch(80.8% 0.086 291.1)

  5. Step 400

    400

    #A190EE

    oklch(70.7% 0.135 290.8)

  6. Step 500

    500 (this color)

    #8F74EC

    oklch(64% 0.174 291)

  7. Step 600

    600

    #7856D7

    oklch(55.6% 0.189 291.1)

  8. Step 700

    700

    #6545BA

    oklch(49.1% 0.175 291.1)

  9. Step 800

    800

    #523A97

    oklch(42.8% 0.145 290.8)

  10. Step 900

    900

    #433378

    oklch(37.7% 0.113 290.6)

  11. Step 950

    950

    #271E46

    oklch(26.9% 0.072 291.1)

Export this scale for Tailwind in the Tailwind colors tool

#8F74EC 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)#4289F00.098
Deuteranopia (no green cones)#4585E90.095
Tritanopia (no blue cones)#768DA50.143
Achromatopsia (no color)#8787870.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F74EC

    #8F74EC

    oklch(64% 0.174 291)

  • #919300

    #919300

    oklch(64% 0.14 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F74EC

    #8F74EC

    oklch(64% 0.174 291)

  • #4C88F4

    #4C88F4

    oklch(64% 0.174 261.1)

  • #BA63CB

    #BA63CB

    oklch(64% 0.173 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #8F74EC

    #8F74EC

    oklch(64% 0.174 291)

  • #B58200

    #B58200

    oklch(64% 0.132 80.9)

  • #45A535

    #45A535

    oklch(64.1% 0.174 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F74EC

    #8F74EC

    oklch(64% 0.174 291)

  • #D86800

    #D86800

    oklch(64% 0.166 51.3)

  • #00A482

    #00A482

    oklch(64% 0.125 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F74EC

    #8F74EC

    oklch(64% 0.174 291)

  • #E2575C

    #E2575C

    oklch(64% 0.173 21.3)

  • #919300

    #919300

    oklch(64% 0.14 110.7)

  • #009FA7

    #009FA7

    oklch(63.9% 0.109 201.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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