#9873D2

Closest named color: Medium Purple (#9370DB). oklch(63.2% 0.142 300.3), rgb(152, 115, 210).

Aa

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

About this color

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

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

Values

HEX#9873D2
RGBrgb(152, 115, 210)
HSLhsl(263, 51%, 64%)
OKLCHoklch(63.2% 0.142 300.3)

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 #9873D2 3.67:1 AA large text Lc -69.6 Content text, not long reading
Black text on #9873D2 5.71:1 AA Lc 39.9 Non-text elements, placeholder text
#9873D2 text on white 3.67:1 AA large text Lc 64.1 Content text, not long reading
#9873D2 text on black 5.71:1 AA Lc -37.5 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C7B7E7

    oklch(80.9% 0.069 300.1)

  5. Step 400

    400

    #AC90DC

    oklch(70.7% 0.112 300.5)

  6. Step 500

    500 (this color)

    #9873D2

    oklch(63.2% 0.142 300.3)

  7. Step 600

    600

    #8359BF

    oklch(55.6% 0.155 300.4)

  8. Step 700

    700

    #6F49A5

    oklch(49.2% 0.144 300.2)

  9. Step 800

    800

    #5A3C85

    oklch(42.6% 0.119 300.4)

  10. Step 900

    900

    #4A346B

    oklch(37.7% 0.093 300.5)

  11. Step 950

    950

    #2B1F3F

    oklch(27% 0.059 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#9873D2 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)#5785D50.094
Deuteranopia (no green cones)#6085D00.086
Tritanopia (no blue cones)#8D84980.111
Achromatopsia (no color)#8585850.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873D2

    #9873D2

    oklch(63.2% 0.142 300.3)

  • #7F9619

    #7F9619

    oklch(63.3% 0.143 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873D2

    #9873D2

    oklch(63.2% 0.142 300.3)

  • #6983DF

    #6983DF

    oklch(63.2% 0.142 270.1)

  • #B967B2

    #B967B2

    oklch(63.2% 0.142 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #9873D2

    #9873D2

    oklch(63.2% 0.142 300.3)

  • #A88500

    #A88500

    oklch(63.2% 0.129 90)

  • #3AA15A

    #3AA15A

    oklch(63.2% 0.142 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873D2

    #9873D2

    oklch(63.2% 0.142 300.3)

  • #C67112

    #C67112

    oklch(63% 0.142 60.2)

  • #00A08D

    #00A08D

    oklch(63.3% 0.114 180.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873D2

    #9873D2

    oklch(63.2% 0.142 300.3)

  • #D26453

    #D26453

    oklch(63.3% 0.143 30.5)

  • #7F9619

    #7F9619

    oklch(63.3% 0.143 120.3)

  • #009BAE

    #009BAE

    oklch(63.2% 0.109 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9873D2 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.