#9D6BEC

Closest named color: Medium Purple (#9370DB). oklch(63.9% 0.188 298.9), rgb(157, 107, 236).

Aa

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

About this color

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

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

Values

HEX#9D6BEC
RGBrgb(157, 107, 236)
HSLhsl(263, 77%, 67%)
OKLCHoklch(63.9% 0.188 298.9)

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 #9D6BEC 3.65:1 AA large text Lc -69.3 Content text, not long reading
Black text on #9D6BEC 5.74:1 AA Lc 40.3 Non-text elements, placeholder text
#9D6BEC text on white 3.65:1 AA large text Lc 63.8 Content text, not long reading
#9D6BEC text on black 5.74:1 AA Lc -37.9 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400

    #AE8AEF

    oklch(70.8% 0.147 299)

  6. Step 500

    500 (this color)

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  7. Step 600

    600

    #864CD8

    oklch(55.7% 0.204 298.6)

  8. Step 700

    700

    #723BBB

    oklch(49.1% 0.191 298.8)

  9. Step 800

    800

    #5D3297

    oklch(42.7% 0.158 299.1)

  10. Step 900

    900

    #4C2E78

    oklch(37.8% 0.122 299.2)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D6BEC 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)#3486F00.133
Deuteranopia (no green cones)#4585E90.123
Tritanopia (no blue cones)#8C85A10.146
Achromatopsia (no color)#8686860.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D6BEC

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  • #839700

    #839700

    oklch(63.8% 0.15 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D6BEC

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  • #5E80FC

    #5E80FC

    oklch(63.8% 0.188 269)

  • #C759C3

    #C759C3

    oklch(63.9% 0.189 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D6BEC

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  • #AC8600

    #AC8600

    oklch(63.8% 0.13 88.5)

  • #00A847

    #00A847

    oklch(63.9% 0.181 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D6BEC

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  • #CD7000

    #CD7000

    oklch(63.8% 0.152 58.6)

  • #00A28D

    #00A28D

    oklch(63.8% 0.116 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D6BEC

    #9D6BEC

    oklch(63.9% 0.188 298.9)

  • #E75243

    #E75243

    oklch(63.8% 0.187 29)

  • #839700

    #839700

    oklch(63.8% 0.15 118.7)

  • #009EAF

    #009EAF

    oklch(64% 0.11 208.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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