#9778DF

Closest named color: Medium Purple (#9370DB). oklch(64.7% 0.151 295.8), rgb(151, 120, 223).

Aa

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

About this color

#9778DF is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.151 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.021 away. Black text reads best on it, at 6.06:1.

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

Values

HEX#9778DF
RGBrgb(151, 120, 223)
HSLhsl(258, 62%, 67%)
OKLCHoklch(64.7% 0.151 295.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 #9778DF 3.46:1 AA large text Lc -67.5 Content text, not long reading
Black text on #9778DF 6.06:1 AA Lc 42.1 Non-text elements, placeholder text
#9778DF text on white 3.46:1 AA large text Lc 62.0 Content text, not long reading
#9778DF text on black 6.06:1 AA Lc -39.7 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

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F2

    oklch(88.5% 0.041 296.2)

  4. Step 300

    300

    #C4B7EC

    oklch(80.8% 0.075 295.9)

  5. Step 400

    400

    #A791E2

    oklch(70.8% 0.118 295.7)

  6. Step 500

    500 (this color)

    #9778DF

    oklch(64.7% 0.151 295.8)

  7. Step 600

    600

    #7D59C7

    oklch(55.5% 0.165 295.6)

  8. Step 700

    700

    #6A49AC

    oklch(49.2% 0.152 295.7)

  9. Step 800

    800

    #563C8B

    oklch(42.6% 0.126 295.7)

  10. Step 900

    900

    #47346F

    oklch(37.6% 0.099 296.2)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#9778DF 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)#568BE30.091
Deuteranopia (no green cones)#5C88DC0.085
Tritanopia (no blue cones)#878BA10.121
Achromatopsia (no color)#8A8A8A0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #9778DF

    #9778DF

    oklch(64.7% 0.151 295.8)

  • #8B9800

    #8B9800

    oklch(64.7% 0.147 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9778DF

    #9778DF

    oklch(64.7% 0.151 295.8)

  • #6289EA

    #6289EA

    oklch(64.7% 0.152 265.8)

  • #BC6ABF

    #BC6ABF

    oklch(64.7% 0.151 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #9778DF

    #9778DF

    oklch(64.7% 0.151 295.8)

  • #B28700

    #B28700

    oklch(64.7% 0.132 85.9)

  • #46A651

    #46A651

    oklch(64.8% 0.152 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9778DF

    #9778DF

    oklch(64.7% 0.151 295.8)

  • #D27117

    #D27117

    oklch(64.7% 0.152 55.7)

  • #00A68B

    #00A68B

    oklch(64.8% 0.122 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9778DF

    #9778DF

    oklch(64.7% 0.151 295.8)

  • #DB645C

    #DB645C

    oklch(64.7% 0.151 26)

  • #8B9800

    #8B9800

    oklch(64.7% 0.147 115.7)

  • #00A1AF

    #00A1AF

    oklch(64.7% 0.111 205.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9778DF.

Similar named colors

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

Use #9778DF 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.