#A478E2

Closest named color: Medium Purple (#9370DB). oklch(66.1% 0.157 301.4), rgb(164, 120, 226).

Aa

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

About this color

#A478E2 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.157 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.036 away. Black text reads best on it, at 6.36:1.

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

Values

HEX#A478E2
RGBrgb(164, 120, 226)
HSLhsl(265, 65%, 68%)
OKLCHoklch(66.1% 0.157 301.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 #A478E2 3.30:1 AA large text Lc -65.6 Content text, not long reading
Black text on #A478E2 6.36:1 AA Lc 43.9 Non-text elements, placeholder text
#A478E2 text on white 3.30:1 AA large text Lc 60.2 Content text, not long reading
#A478E2 text on black 6.36:1 AA Lc -41.5 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EB

    oklch(81% 0.076 301.1)

  5. Step 400

    400

    #AE8EE1

    oklch(70.8% 0.123 301.1)

  6. Step 500

    500 (this color)

    #A478E2

    oklch(66.1% 0.157 301.4)

  7. Step 600

    600

    #8654C5

    oklch(55.5% 0.171 301.5)

  8. Step 700

    700

    #7244AA

    oklch(49.1% 0.158 301.6)

  9. Step 800

    800

    #5D398A

    oklch(42.8% 0.131 301.6)

  10. Step 900

    900

    #4C326E

    oklch(37.8% 0.102 301.7)

  11. Step 950

    950

    #2C1E41

    oklch(27.1% 0.065 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#A478E2 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)#588DE60.108
Deuteranopia (no green cones)#638DDF0.099
Tritanopia (no blue cones)#988BA20.121
Achromatopsia (no color)#8D8D8D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #A478E2

    #A478E2

    oklch(66.1% 0.157 301.4)

  • #84A008

    #84A008

    oklch(66.1% 0.157 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A478E2

    #A478E2

    oklch(66.1% 0.157 301.4)

  • #7089F2

    #7089F2

    oklch(66% 0.158 271.4)

  • #C86ABE

    #C86ABE

    oklch(66.1% 0.158 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #A478E2

    #A478E2

    oklch(66.1% 0.157 301.4)

  • #B18E00

    #B18E00

    oklch(66% 0.135 91.2)

  • #30AD5E

    #30AD5E

    oklch(66.2% 0.158 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A478E2

    #A478E2

    oklch(66.1% 0.157 301.4)

  • #D37800

    #D37800

    oklch(65.9% 0.153 61.2)

  • #00AA97

    #00AA97

    oklch(66.2% 0.119 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A478E2

    #A478E2

    oklch(66.1% 0.157 301.4)

  • #E26753

    #E26753

    oklch(66% 0.158 31.1)

  • #84A008

    #84A008

    oklch(66.1% 0.157 121.4)

  • #00A4BA

    #00A4BA

    oklch(65.9% 0.115 211.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #A478E2 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.