#9862D7

Closest named color: Medium Purple (#9370DB). oklch(60.7% 0.175 302.8), rgb(152, 98, 215).

Aa

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

About this color

#9862D7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.175 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.032 away. Black text reads best on it, at 5.06:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.175)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.06:1
White text4.14:1

Values

HEX#9862D7
RGBrgb(152, 98, 215)
HSLhsl(268, 59%, 61%)
OKLCHoklch(60.7% 0.175 302.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 #9862D7 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #9862D7 5.06:1 AA Lc 35.9 Non-text elements, placeholder text
#9862D7 text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#9862D7 text on black 5.06:1 AA Lc -33.4 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300

    #CBB4EF

    oklch(80.9% 0.085 302.4)

  5. Step 400

    400

    #B28AE7

    oklch(70.7% 0.138 302.9)

  6. Step 500

    500 (this color)

    #9862D7

    oklch(60.7% 0.175 302.8)

  7. Step 600

    600

    #8B4ECD

    oklch(55.7% 0.19 302.8)

  8. Step 700

    700

    #763DB1

    oklch(49% 0.177 302.9)

  9. Step 800

    800

    #603490

    oklch(42.8% 0.147 302.6)

  10. Step 900

    900

    #4E2E73

    oklch(37.6% 0.116 302.6)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#9862D7 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)#367BDB0.132
Deuteranopia (no green cones)#487CD40.121
Tritanopia (no blue cones)#8C78930.131
Achromatopsia (no color)#7C7C7C0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #9862D7

    #9862D7

    oklch(60.7% 0.175 302.8)

  • #728F00

    #728F00

    oklch(60.6% 0.148 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9862D7

    #9862D7

    oklch(60.7% 0.175 302.8)

  • #6175E9

    #6175E9

    oklch(60.6% 0.175 272.7)

  • #BD52AF

    #BD52AF

    oklch(60.7% 0.177 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #9862D7

    #9862D7

    oklch(60.7% 0.175 302.8)

  • #9C7F00

    #9C7F00

    oklch(60.6% 0.124 92.7)

  • #009C52

    #009C52

    oklch(60.7% 0.157 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9862D7

    #9862D7

    oklch(60.7% 0.175 302.8)

  • #BB6C00

    #BB6C00

    oklch(60.6% 0.139 62.7)

  • #009788

    #009788

    oklch(60.7% 0.108 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9862D7

    #9862D7

    oklch(60.7% 0.175 302.8)

  • #D64F35

    #D64F35

    oklch(60.6% 0.175 32.9)

  • #728F00

    #728F00

    oklch(60.6% 0.148 122.8)

  • #0092A8

    #0092A8

    oklch(60.6% 0.106 213.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9862D7.

Similar named colors

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

Use #9862D7 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.