#9979EB

Closest named color: Medium Purple (#9370DB). oklch(65.7% 0.166 294.3), rgb(153, 121, 235).

Aa

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

About this color

#9979EB is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.166 and its hue 294°. 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 6.28:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.166)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.28:1
White text3.33:1

Values

HEX#9979EB
RGBrgb(153, 121, 235)
HSLhsl(257, 74%, 70%)
OKLCHoklch(65.7% 0.166 294.3)

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 #9979EB 3.33:1 AA large text Lc -66.1 Content text, not long reading
Black text on #9979EB 6.28:1 AA Lc 43.5 Non-text elements, placeholder text
#9979EB text on white 3.33:1 AA large text Lc 60.6 Content text, not long reading
#9979EB text on black 6.28:1 AA Lc -41.1 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

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DAD4F5

    oklch(88.5% 0.045 293.8)

  4. Step 300

    300

    #C3B7F0

    oklch(80.9% 0.08 294.2)

  5. Step 400

    400

    #A68FE9

    oklch(70.6% 0.13 294.6)

  6. Step 500

    500 (this color)

    #9979EB

    oklch(65.7% 0.166 294.3)

  7. Step 600

    600

    #7D56D0

    oklch(55.6% 0.18 294.5)

  8. Step 700

    700

    #6945B4

    oklch(49% 0.168 294.3)

  9. Step 800

    800

    #563A92

    oklch(42.8% 0.139 294.5)

  10. Step 900

    900

    #463374

    oklch(37.7% 0.107 294.1)

  11. Step 950

    950

    #291E44

    oklch(26.9% 0.069 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#9979EB 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)#508EEF0.099
Deuteranopia (no green cones)#568BE80.093
Tritanopia (no blue cones)#868FA70.133
Achromatopsia (no color)#8D8D8D0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #9979EB

    #9979EB

    oklch(65.7% 0.166 294.3)

  • #909A00

    #909A00

    oklch(65.6% 0.148 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9979EB

    #9979EB

    oklch(65.7% 0.166 294.3)

  • #5D8CF6

    #5D8CF6

    oklch(65.8% 0.166 264.3)

  • #C269C9

    #C269C9

    oklch(65.7% 0.166 324.5)

Open the analogous palette in the generator

Split complementary

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

  • #9979EB

    #9979EB

    oklch(65.7% 0.166 294.3)

  • #B88900

    #B88900

    oklch(65.8% 0.135 84.2)

  • #44AA49

    #44AA49

    oklch(65.6% 0.165 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9979EB

    #9979EB

    oklch(65.7% 0.166 294.3)

  • #DB7000

    #DB7000

    oklch(65.7% 0.164 54.5)

  • #00A98C

    #00A98C

    oklch(65.6% 0.124 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9979EB

    #9979EB

    oklch(65.7% 0.166 294.3)

  • #E5615D

    #E5615D

    oklch(65.8% 0.165 24.4)

  • #909A00

    #909A00

    oklch(65.6% 0.148 114.3)

  • #00A5B1

    #00A5B1

    oklch(65.8% 0.112 204)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9979EB.

Similar named colors

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

Use #9979EB 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.