#9862EA

Closest named color: Lighter Purple (#A55AF4). oklch(61.9% 0.198 298.8), rgb(152, 98, 234).

Aa

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

About this color

#9862EA is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.198 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.030 away. Black text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.198)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.27:1
White text3.98:1

Values

HEX#9862EA
RGBrgb(152, 98, 234)
HSLhsl(264, 76%, 65%)
OKLCHoklch(61.9% 0.198 298.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 #9862EA 3.98:1 AA large text Lc -72.3 Content text, not long reading
Black text on #9862EA 5.27:1 AA Lc 37.3 Non-text elements, placeholder text
#9862EA text on white 3.98:1 AA large text Lc 66.8 Content text, not long reading
#9862EA text on black 5.27:1 AA Lc -34.9 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DDD2F9

    oklch(88.5% 0.054 298.2)

  4. Step 300

    300

    #C9B3F7

    oklch(80.9% 0.097 299.1)

  5. Step 400

    400

    #AE88F3

    oklch(70.6% 0.155 298.7)

  6. Step 500

    500 (this color)

    #9862EA

    oklch(61.9% 0.198 298.8)

  7. Step 600

    600

    #8748DD

    oklch(55.6% 0.215 298.5)

  8. Step 700

    700

    #7337BF

    oklch(49% 0.2 298.9)

  9. Step 800

    800

    #5E2F9B

    oklch(42.7% 0.167 299.1)

  10. Step 900

    900

    #4C2C7B

    oklch(37.7% 0.129 298.7)

  11. Step 950

    950

    #2C1B48

    oklch(27% 0.081 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#9862EA 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)#167FEE0.145
Deuteranopia (no green cones)#337EE70.134
Tritanopia (no blue cones)#867F9D0.153
Achromatopsia (no color)#7F7F7F0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #9862EA

    #9862EA

    oklch(61.9% 0.198 298.8)

  • #7D9100

    #7D9100

    oklch(61.9% 0.145 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9862EA

    #9862EA

    oklch(61.9% 0.198 298.8)

  • #5678FB

    #5678FB

    oklch(61.8% 0.199 268.9)

  • #C24FBF

    #C24FBF

    oklch(61.8% 0.197 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #9862EA

    #9862EA

    oklch(61.9% 0.198 298.8)

  • #A58000

    #A58000

    oklch(61.8% 0.126 88.2)

  • #00A144

    #00A144

    oklch(61.9% 0.175 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9862EA

    #9862EA

    oklch(61.9% 0.198 298.8)

  • #C56B00

    #C56B00

    oklch(61.8% 0.147 58.4)

  • #009C87

    #009C87

    oklch(62% 0.114 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9862EA

    #9862EA

    oklch(61.9% 0.198 298.8)

  • #E44538

    #E44538

    oklch(61.8% 0.198 28.8)

  • #7D9100

    #7D9100

    oklch(61.9% 0.145 119)

  • #0097A8

    #0097A8

    oklch(61.9% 0.107 208.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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