#9864C4

Closest named color: Amethyst (#9B5FC0). oklch(59.9% 0.149 307.5), rgb(152, 100, 196).

Aa

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

About this color

#9864C4 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.149 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.013 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.149)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.95:1
White text4.23:1

Values

HEX#9864C4
RGBrgb(152, 100, 196)
HSLhsl(273, 45%, 58%)
OKLCHoklch(59.9% 0.149 307.5)

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 #9864C4 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #9864C4 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#9864C4 text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#9864C4 text on black 4.95:1 AA Lc -32.6 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E0D3EF

    oklch(88.6% 0.04 306.5)

  4. Step 300

    300

    #CDB5E6

    oklch(81% 0.073 307)

  5. Step 400

    400

    #B48CD9

    oklch(70.6% 0.117 307.5)

  6. Step 500

    500 (this color)

    #9864C4

    oklch(59.9% 0.149 307.5)

  7. Step 600

    600

    #8D54BC

    oklch(55.7% 0.162 307.2)

  8. Step 700

    700

    #7843A2

    oklch(49.1% 0.152 307.5)

  9. Step 800

    800

    #623883

    oklch(42.8% 0.125 307.8)

  10. Step 900

    900

    #503169

    oklch(37.7% 0.098 307.9)

  11. Step 950

    950

    #2F1D3E

    oklch(27% 0.063 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#9864C4 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)#4A79C70.116
Deuteranopia (no green cones)#597CC20.105
Tritanopia (no blue cones)#92748B0.107
Achromatopsia (no color)#7B7B7B0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #9864C4

    #9864C4

    oklch(59.9% 0.149 307.5)

  • #678F12

    #678F12

    oklch(59.8% 0.149 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9864C4

    #9864C4

    oklch(59.9% 0.149 307.5)

  • #6C74D7

    #6C74D7

    oklch(60% 0.149 277.4)

  • #B6589F

    #B6589F

    oklch(59.8% 0.149 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #9864C4

    #9864C4

    oklch(59.9% 0.149 307.5)

  • #947F00

    #947F00

    oklch(59.8% 0.123 97.5)

  • #00985D

    #00985D

    oklch(59.8% 0.141 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9864C4

    #9864C4

    oklch(59.9% 0.149 307.5)

  • #B36E00

    #B36E00

    oklch(60% 0.132 67.5)

  • #00938B

    #00938B

    oklch(59.8% 0.104 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9864C4

    #9864C4

    oklch(59.9% 0.149 307.5)

  • #C85A38

    #C85A38

    oklch(59.9% 0.149 37.7)

  • #678F12

    #678F12

    oklch(59.8% 0.149 127.3)

  • #008FAA

    #008FAA

    oklch(60% 0.107 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9864C4 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.