#9837A5

Closest named color: Purply (#983FB2). oklch(51.9% 0.186 322.8), rgb(152, 55, 165).

Aa

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

About this color

#9837A5 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.186 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.023 away. White text reads best on it, at 6.13:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.186)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.42:1
White text6.13:1

Values

HEX#9837A5
RGBrgb(152, 55, 165)
HSLhsl(293, 50%, 43%)
OKLCHoklch(51.9% 0.186 322.8)

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 #9837A5 6.13:1 AA Lc -85.0 Fine for body text
Black text on #9837A5 3.42:1 AA large text Lc 24.3 Dividers and decoration only
#9837A5 text on white 6.13:1 AA Lc 79.8 Fine for body text
#9837A5 text on black 3.42:1 AA large text Lc -22.0 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 700.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFED

    oklch(88.6% 0.05 322.8)

  4. Step 300

    300

    #DDADE3

    oklch(80.8% 0.091 322.7)

  5. Step 400

    400

    #CB80D4

    oklch(70.7% 0.143 323.1)

  6. Step 500

    500

    #BC5CC9

    oklch(63.2% 0.183 322.7)

  7. Step 600

    600

    #A73DB5

    oklch(55.6% 0.199 322.8)

  8. Step 700

    700 (this color)

    #9837A5

    oklch(51.9% 0.186 322.8)

  9. Step 800

    800

    #74287F

    oklch(42.7% 0.154 322.4)

  10. Step 900

    900

    #5E2666

    oklch(37.7% 0.12 322.5)

  11. Step 950

    950

    #37173C

    oklch(26.9% 0.077 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#9837A5 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)#1B5AA80.189
Deuteranopia (no green cones)#4765A20.160
Tritanopia (no blue cones)#9A49690.112
Achromatopsia (no color)#6262620.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #9837A5

    #9837A5

    oklch(51.9% 0.186 322.8)

  • #008005

    #008005

    oklch(52% 0.175 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9837A5

    #9837A5

    oklch(51.9% 0.186 322.8)

  • #704AC7

    #704AC7

    oklch(51.9% 0.185 292.8)

  • #B22772

    #B22772

    oklch(52% 0.186 353)

Open the analogous palette in the generator

Split complementary

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

  • #9837A5

    #9837A5

    oklch(51.9% 0.186 322.8)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

  • #007B63

    #007B63

    oklch(52% 0.1 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9837A5

    #9837A5

    oklch(51.9% 0.186 322.8)

  • #866200

    #866200

    oklch(51.9% 0.107 83.4)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9837A5

    #9837A5

    oklch(51.9% 0.186 322.8)

  • #A14E00

    #A14E00

    oklch(51.8% 0.132 52.7)

  • #008005

    #008005

    oklch(52% 0.175 142.8)

  • #00729C

    #00729C

    oklch(51.9% 0.107 233)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9837A5.

Similar named colors

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

Use #9837A5 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.