#9839B9

Closest named color: Purply (#983FB2). oklch(53.4% 0.201 316), rgb(152, 57, 185).

Aa

White text reads best on this color (5.79:1).

About this color

#9839B9 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.201 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.016 away. White text reads best on it, at 5.79:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.201)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.62:1
White text5.79:1

Values

HEX#9839B9
RGBrgb(152, 57, 185)
HSLhsl(285, 53%, 47%)
OKLCHoklch(53.4% 0.201 316)

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 #9839B9 5.79:1 AA Lc -83.4 Fine for body text
Black text on #9839B9 3.62:1 AA large text Lc 25.9 Dividers and decoration only
#9839B9 text on white 5.79:1 AA Lc 78.2 Fine for body text
#9839B9 text on black 3.62:1 AA large text Lc -23.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D8AFE8

    oklch(80.9% 0.09 316.4)

  5. Step 400

    400

    #C382DD

    oklch(70.6% 0.145 315.8)

  6. Step 500

    500

    #B45FD3

    oklch(63.1% 0.185 316.2)

  7. Step 600

    600 (this color)

    #9839B9

    oklch(53.4% 0.201 316)

  8. Step 700

    700

    #8831A6

    oklch(49.1% 0.187 316)

  9. Step 800

    800

    #6F2A87

    oklch(42.8% 0.156 316.1)

  10. Step 900

    900

    #5A286C

    oklch(37.8% 0.121 316.1)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#9839B9 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)#0060BD0.192
Deuteranopia (no green cones)#3868B60.169
Tritanopia (no blue cones)#9652750.129
Achromatopsia (no color)#6565650.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #9839B9

    #9839B9

    oklch(53.4% 0.201 316)

  • #3C8000

    #3C8000

    oklch(53.4% 0.159 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9839B9

    #9839B9

    oklch(53.4% 0.201 316)

  • #694FD9

    #694FD9

    oklch(53.4% 0.201 286)

  • #B72485

    #B72485

    oklch(53.4% 0.202 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #9839B9

    #9839B9

    oklch(53.4% 0.201 316)

  • #767000

    #767000

    oklch(53.3% 0.114 105.9)

  • #00815E

    #00815E

    oklch(53.5% 0.111 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9839B9

    #9839B9

    oklch(53.4% 0.201 316)

  • #916200

    #916200

    oklch(53.3% 0.112 76.1)

  • #007D7E

    #007D7E

    oklch(53.4% 0.091 195.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9839B9

    #9839B9

    oklch(53.4% 0.201 316)

  • #B04900

    #B04900

    oklch(53.4% 0.151 45.8)

  • #3C8000

    #3C8000

    oklch(53.4% 0.159 136.1)

  • #00789A

    #00789A

    oklch(53.4% 0.102 226.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9839B9.

Similar named colors

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

Use #9839B9 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.