#9878DE

Closest named color: Medium Purple (#9370DB). oklch(64.7% 0.15 296.4), rgb(152, 120, 222).

Aa

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

About this color

#9878DE is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.150 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.022 away. Black text reads best on it, at 6.07:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.150)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.07:1
White text3.45:1

Values

HEX#9878DE
RGBrgb(152, 120, 222)
HSLhsl(259, 61%, 67%)
OKLCHoklch(64.7% 0.15 296.4)

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 #9878DE 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #9878DE 6.07:1 AA Lc 42.1 Non-text elements, placeholder text
#9878DE text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#9878DE text on black 6.07:1 AA Lc -39.8 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

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F2

    oklch(88.5% 0.041 296.2)

  4. Step 300

    300

    #C5B7EB

    oklch(80.9% 0.074 297.1)

  5. Step 400

    400

    #A891E1

    oklch(70.8% 0.117 296.5)

  6. Step 500

    500 (this color)

    #9878DE

    oklch(64.7% 0.15 296.4)

  7. Step 600

    600

    #7E59C6

    oklch(55.5% 0.164 296.3)

  8. Step 700

    700

    #6B48AB

    oklch(49% 0.152 296.7)

  9. Step 800

    800

    #573C8B

    oklch(42.7% 0.127 296.4)

  10. Step 900

    900

    #47346F

    oklch(37.6% 0.099 296.2)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#9878DE 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)#578AE20.091
Deuteranopia (no green cones)#5D89DC0.086
Tritanopia (no blue cones)#898BA00.120
Achromatopsia (no color)#8A8A8A0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #9878DE

    #9878DE

    oklch(64.7% 0.15 296.4)

  • #8A9900

    #8A9900

    oklch(64.8% 0.149 116.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9878DE

    #9878DE

    oklch(64.7% 0.15 296.4)

  • #6489E9

    #6489E9

    oklch(64.7% 0.15 266.4)

  • #BC6ABE

    #BC6ABE

    oklch(64.6% 0.15 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #9878DE

    #9878DE

    oklch(64.7% 0.15 296.4)

  • #B18700

    #B18700

    oklch(64.6% 0.132 86.5)

  • #45A653

    #45A653

    oklch(64.7% 0.151 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9878DE

    #9878DE

    oklch(64.7% 0.15 296.4)

  • #D17218

    #D17218

    oklch(64.7% 0.15 56.4)

  • #00A68C

    #00A68C

    oklch(64.8% 0.121 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9878DE

    #9878DE

    oklch(64.7% 0.15 296.4)

  • #DB645C

    #DB645C

    oklch(64.7% 0.151 26)

  • #8A9900

    #8A9900

    oklch(64.8% 0.149 116.5)

  • #00A1B0

    #00A1B0

    oklch(64.8% 0.111 206.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9878DE.

Similar named colors

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

Use #9878DE 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.