#9873E7

Closest named color: Medium Purple (#9370DB). oklch(64.4% 0.169 296), rgb(152, 115, 231).

Aa

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

About this color

#9873E7 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.169 and its hue 296°. 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.94:1.

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

Values

HEX#9873E7
RGBrgb(152, 115, 231)
HSLhsl(259, 71%, 68%)
OKLCHoklch(64.4% 0.169 296)

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 #9873E7 3.53:1 AA large text Lc -68.2 Content text, not long reading
Black text on #9873E7 5.94:1 AA Lc 41.4 Non-text elements, placeholder text
#9873E7 text on white 3.53:1 AA large text Lc 62.7 Content text, not long reading
#9873E7 text on black 5.94:1 AA Lc -39.0 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD4F5

    oklch(88.6% 0.046 295.2)

  4. Step 300

    300

    #C5B6F1

    oklch(80.9% 0.084 296.1)

  5. Step 400

    400

    #A88EE9

    oklch(70.6% 0.132 296)

  6. Step 500

    500 (this color)

    #9873E7

    oklch(64.4% 0.169 296)

  7. Step 600

    600

    #8054D0

    oklch(55.6% 0.184 296.3)

  8. Step 700

    700

    #6C43B5

    oklch(49.1% 0.172 296)

  9. Step 800

    800

    #583892

    oklch(42.7% 0.142 296.2)

  10. Step 900

    900

    #483275

    oklch(37.8% 0.111 295.8)

  11. Step 950

    950

    #2A1E44

    oklch(27% 0.069 296)

Export this scale for Tailwind in the Tailwind colors tool

#9873E7 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)#4889EB0.107
Deuteranopia (no green cones)#5087E40.101
Tritanopia (no blue cones)#868AA20.136
Achromatopsia (no color)#8888880.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873E7

    #9873E7

    oklch(64.4% 0.169 296)

  • #8A9700

    #8A9700

    oklch(64.4% 0.147 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873E7

    #9873E7

    oklch(64.4% 0.169 296)

  • #5C86F3

    #5C86F3

    oklch(64.3% 0.169 266)

  • #C063C4

    #C063C4

    oklch(64.4% 0.17 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #9873E7

    #9873E7

    oklch(64.4% 0.169 296)

  • #B18600

    #B18600

    oklch(64.4% 0.132 85.8)

  • #34A747

    #34A747

    oklch(64.3% 0.17 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873E7

    #9873E7

    oklch(64.4% 0.169 296)

  • #D36F00

    #D36F00

    oklch(64.4% 0.157 56.2)

  • #00A58A

    #00A58A

    oklch(64.5% 0.121 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873E7

    #9873E7

    oklch(64.4% 0.169 296)

  • #E25B54

    #E25B54

    oklch(64.4% 0.17 25.9)

  • #8A9700

    #8A9700

    oklch(64.4% 0.147 115.7)

  • #00A0AE

    #00A0AE

    oklch(64.4% 0.11 205.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9873E7.

Similar named colors

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

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