#9F6CDF

Closest named color: Medium Purple (#9370DB). oklch(63.4% 0.171 302.2), rgb(159, 108, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.68:1
White text3.69:1

Values

HEX#9F6CDF
RGBrgb(159, 108, 223)
HSLhsl(267, 64%, 65%)
OKLCHoklch(63.4% 0.171 302.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 #9F6CDF 3.69:1 AA large text Lc -69.7 Content text, not long reading
Black text on #9F6CDF 5.68:1 AA Lc 39.8 Non-text elements, placeholder text
#9F6CDF text on white 3.69:1 AA large text Lc 64.2 Content text, not long reading
#9F6CDF text on black 5.68:1 AA Lc -37.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F3

    oklch(88.4% 0.047 303.3)

  4. Step 300

    300

    #CBB4EE

    oklch(80.9% 0.084 302.7)

  5. Step 400

    400

    #B18BE6

    oklch(70.8% 0.135 302.3)

  6. Step 500

    500 (this color)

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  7. Step 600

    600

    #894FCB

    oklch(55.5% 0.186 302.2)

  8. Step 700

    700

    #753FB0

    oklch(49.1% 0.173 302.4)

  9. Step 800

    800

    #5F358E

    oklch(42.7% 0.143 302.5)

  10. Step 900

    900

    #4D2F72

    oklch(37.6% 0.112 301.9)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#9F6CDF 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)#4584E30.124
Deuteranopia (no green cones)#5485DC0.114
Tritanopia (no blue cones)#93819B0.129
Achromatopsia (no color)#8585850.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F6CDF

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  • #7B9800

    #7B9800

    oklch(63.4% 0.154 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F6CDF

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  • #687FF1

    #687FF1

    oklch(63.5% 0.172 272.1)

  • #C45DB7

    #C45DB7

    oklch(63.4% 0.171 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #9F6CDF

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  • #A68700

    #A68700

    oklch(63.4% 0.13 92.5)

  • #00A655

    #00A655

    oklch(63.5% 0.166 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F6CDF

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  • #C77300

    #C77300

    oklch(63.5% 0.145 62.5)

  • #00A090

    #00A090

    oklch(63.3% 0.113 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F6CDF

    #9F6CDF

    oklch(63.4% 0.171 302.2)

  • #DF5A42

    #DF5A42

    oklch(63.5% 0.171 32.3)

  • #7B9800

    #7B9800

    oklch(63.4% 0.154 122.2)

  • #009BB1

    #009BB1

    oklch(63.3% 0.11 212.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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