#9A78CA

Closest named color: Deep Lilac (#966EBD). oklch(63.8% 0.124 302.1), rgb(154, 120, 202).

Aa

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

About this color

#9A78CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.124 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.030 away. Black text reads best on it, at 5.91:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.91:1
White text3.55:1

Values

HEX#9A78CA
RGBrgb(154, 120, 202)
HSLhsl(265, 44%, 63%)
OKLCHoklch(63.8% 0.124 302.1)

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 #9A78CA 3.55:1 AA large text Lc -68.5 Content text, not long reading
Black text on #9A78CA 5.91:1 AA Lc 41.1 Non-text elements, placeholder text
#9A78CA text on white 3.55:1 AA large text Lc 63.0 Content text, not long reading
#9A78CA text on black 5.91:1 AA Lc -38.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DDD4EC

    oklch(88.4% 0.034 302.7)

  4. Step 300

    300

    #C8B8E2

    oklch(81% 0.061 302.4)

  5. Step 400

    400

    #AC92D3

    oklch(70.7% 0.097 302.3)

  6. Step 500

    500 (this color)

    #9A78CA

    oklch(63.8% 0.124 302.1)

  7. Step 600

    600

    #835DB4

    oklch(55.6% 0.135 302.4)

  8. Step 700

    700

    #6F4C9B

    oklch(49.1% 0.126 302.5)

  9. Step 800

    800

    #5A3F7E

    oklch(42.7% 0.104 302)

  10. Step 900

    900

    #4A3665

    oklch(37.7% 0.081 302.3)

  11. Step 950

    950

    #2B203B

    oklch(27% 0.051 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#9A78CA 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)#6387CD0.081
Deuteranopia (no green cones)#6B88C80.075
Tritanopia (no blue cones)#9286970.097
Achromatopsia (no color)#8888880.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A78CA

    #9A78CA

    oklch(63.8% 0.124 302.1)

  • #7F9738

    #7F9738

    oklch(63.8% 0.124 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A78CA

    #9A78CA

    oklch(63.8% 0.124 302.1)

  • #7286D7

    #7286D7

    oklch(64% 0.124 272)

  • #B76EAD

    #B76EAD

    oklch(63.9% 0.124 332)

Open the analogous palette in the generator

Split complementary

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

  • #9A78CA

    #9A78CA

    oklch(63.8% 0.124 302.1)

  • #A78818

    #A78818

    oklch(63.8% 0.124 91.6)

  • #48A165

    #48A165

    oklch(63.9% 0.124 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A78CA

    #9A78CA

    oklch(63.8% 0.124 302.1)

  • #C07830

    #C07830

    oklch(63.7% 0.124 61.9)

  • #00A291

    #00A291

    oklch(63.9% 0.114 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A78CA

    #9A78CA

    oklch(63.8% 0.124 302.1)

  • #CC6D5A

    #CC6D5A

    oklch(63.9% 0.124 32.5)

  • #7F9738

    #7F9738

    oklch(63.8% 0.124 122)

  • #009DB3

    #009DB3

    oklch(63.9% 0.111 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9A78CA 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.