#9B6BD2

Closest named color: Medium Purple (#9370DB). oklch(62.1% 0.156 303.7), rgb(155, 107, 210).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.156)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.42:1
White text3.86:1

Values

HEX#9B6BD2
RGBrgb(155, 107, 210)
HSLhsl(268, 53%, 62%)
OKLCHoklch(62.1% 0.156 303.7)

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 #9B6BD2 3.86:1 AA large text Lc -71.4 Content text, not long reading
Black text on #9B6BD2 5.42:1 AA Lc 38.2 Non-text elements, placeholder text
#9B6BD2 text on white 3.86:1 AA large text Lc 65.9 Content text, not long reading
#9B6BD2 text on black 5.42:1 AA Lc -35.7 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3F1

    oklch(88.6% 0.043 303.7)

  4. Step 300

    300

    #CBB5E9

    oklch(80.9% 0.076 304)

  5. Step 400

    400

    #B18DDF

    oklch(70.8% 0.122 303.6)

  6. Step 500

    500 (this color)

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  7. Step 600

    600

    #8953C2

    oklch(55.5% 0.17 303.8)

  8. Step 700

    700

    #7543A8

    oklch(49.1% 0.158 304)

  9. Step 800

    800

    #5F3888

    oklch(42.7% 0.131 303.9)

  10. Step 900

    900

    #4D316D

    oklch(37.6% 0.102 303.4)

  11. Step 950

    950

    #2D1D40

    oklch(26.9% 0.065 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#9B6BD2 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)#4C80D60.113
Deuteranopia (no green cones)#5981CF0.104
Tritanopia (no blue cones)#917D950.116
Achromatopsia (no color)#8181810.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B6BD2

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  • #749500

    #749500

    oklch(62.2% 0.154 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B6BD2

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  • #6A7CE3

    #6A7CE3

    oklch(62.1% 0.156 273.6)

  • #BC5EAD

    #BC5EAD

    oklch(62.1% 0.155 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #9B6BD2

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  • #A08400

    #A08400

    oklch(62.1% 0.127 93.9)

  • #08A058

    #08A058

    oklch(62% 0.155 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B6BD2

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  • #C07100

    #C07100

    oklch(62.2% 0.141 64)

  • #009C8E

    #009C8E

    oklch(62.2% 0.11 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B6BD2

    #9B6BD2

    oklch(62.1% 0.156 303.7)

  • #D35C43

    #D35C43

    oklch(62% 0.156 33.5)

  • #749500

    #749500

    oklch(62.2% 0.154 123.9)

  • #0097AE

    #0097AE

    oklch(62.2% 0.109 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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