#9F72E4

Closest named color: Medium Purple (#9370DB). oklch(64.7% 0.168 300), rgb(159, 114, 228).

Aa

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

About this color

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

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

Values

HEX#9F72E4
RGBrgb(159, 114, 228)
HSLhsl(264, 68%, 67%)
OKLCHoklch(64.7% 0.168 300)

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 #9F72E4 3.49:1 AA large text Lc -67.8 Content text, not long reading
Black text on #9F72E4 6.00:1 AA Lc 41.8 Non-text elements, placeholder text
#9F72E4 text on white 3.49:1 AA large text Lc 62.3 Content text, not long reading
#9F72E4 text on black 6.00:1 AA Lc -39.4 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F4

    oklch(88.5% 0.046 299.3)

  4. Step 300

    300

    #C8B5EE

    oklch(80.8% 0.082 299.8)

  5. Step 400

    400

    #AD8CE6

    oklch(70.6% 0.132 299.9)

  6. Step 500

    500 (this color)

    #9F72E4

    oklch(64.7% 0.168 300)

  7. Step 600

    600

    #8652CC

    oklch(55.7% 0.182 300.2)

  8. Step 700

    700

    #7141B1

    oklch(49% 0.171 299.8)

  9. Step 800

    800

    #5C378F

    oklch(42.7% 0.14 299.8)

  10. Step 900

    900

    #4B3172

    oklch(37.7% 0.109 299.7)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#9F72E4 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)#4B89E80.116
Deuteranopia (no green cones)#5788E10.106
Tritanopia (no blue cones)#9187A00.130
Achromatopsia (no color)#8989890.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F72E4

    #9F72E4

    oklch(64.7% 0.168 300)

  • #839B00

    #839B00

    oklch(64.8% 0.154 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F72E4

    #9F72E4

    oklch(64.7% 0.168 300)

  • #6785F4

    #6785F4

    oklch(64.8% 0.168 269.8)

  • #C563BE

    #C563BE

    oklch(64.7% 0.168 330)

Open the analogous palette in the generator

Split complementary

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

  • #9F72E4

    #9F72E4

    oklch(64.7% 0.168 300)

  • #AE8900

    #AE8900

    oklch(64.7% 0.132 89.5)

  • #20A953

    #20A953

    oklch(64.6% 0.167 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F72E4

    #9F72E4

    oklch(64.7% 0.168 300)

  • #CF7400

    #CF7400

    oklch(64.7% 0.151 60.3)

  • #00A591

    #00A591

    oklch(64.7% 0.117 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F72E4

    #9F72E4

    oklch(64.7% 0.168 300)

  • #E25E4D

    #E25E4D

    oklch(64.7% 0.168 29.8)

  • #839B00

    #839B00

    oklch(64.8% 0.154 120.1)

  • #00A0B4

    #00A0B4

    oklch(64.7% 0.112 210.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9F72E4.

Similar named colors

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

Use #9F72E4 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.