#A178D5

Closest named color: Medium Purple (#9370DB). oklch(65.1% 0.14 303.1), rgb(161, 120, 213).

Aa

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

About this color

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

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

Values

HEX#A178D5
RGBrgb(161, 120, 213)
HSLhsl(266, 53%, 65%)
OKLCHoklch(65.1% 0.14 303.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 #A178D5 3.40:1 AA large text Lc -66.9 Content text, not long reading
Black text on #A178D5 6.16:1 AA Lc 42.6 Non-text elements, placeholder text
#A178D5 text on white 3.40:1 AA large text Lc 61.4 Content text, not long reading
#A178D5 text on black 6.16:1 AA Lc -40.3 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

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED4EE

    oklch(88.6% 0.037 303.1)

  4. Step 300

    300

    #C9B6E6

    oklch(80.8% 0.07 302.9)

  5. Step 400

    400

    #AE8FD9

    oklch(70.6% 0.11 302.9)

  6. Step 500

    500 (this color)

    #A178D5

    oklch(65.1% 0.14 303.1)

  7. Step 600

    600

    #8658BB

    oklch(55.5% 0.153 303.2)

  8. Step 700

    700

    #7248A1

    oklch(49.1% 0.141 303.4)

  9. Step 800

    800

    #5C3C83

    oklch(42.7% 0.117 302.6)

  10. Step 900

    900

    #4C3469

    oklch(37.8% 0.091 303.2)

  11. Step 950

    950

    #2C1F3D

    oklch(27% 0.056 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#A178D5 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)#5F8AD80.096
Deuteranopia (no green cones)#698BD30.089
Tritanopia (no blue cones)#98889C0.107
Achromatopsia (no color)#8B8B8B0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #A178D5

    #A178D5

    oklch(65.1% 0.14 303.1)

  • #7F9D2C

    #7F9D2C

    oklch(65.1% 0.141 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A178D5

    #A178D5

    oklch(65.1% 0.14 303.1)

  • #7487E4

    #7487E4

    oklch(65% 0.14 273.2)

  • #C16CB4

    #C16CB4

    oklch(65.1% 0.141 332.9)

Open the analogous palette in the generator

Split complementary

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

  • #A178D5

    #A178D5

    oklch(65.1% 0.14 303.1)

  • #AB8C00

    #AB8C00

    oklch(65% 0.133 93.1)

  • #3AA765

    #3AA765

    oklch(65% 0.14 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A178D5

    #A178D5

    oklch(65.1% 0.14 303.1)

  • #CA791B

    #CA791B

    oklch(65% 0.14 62.8)

  • #00A696

    #00A696

    oklch(65.1% 0.116 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A178D5

    #A178D5

    oklch(65.1% 0.14 303.1)

  • #D76B55

    #D76B55

    oklch(65.1% 0.141 32.9)

  • #7F9D2C

    #7F9D2C

    oklch(65.1% 0.141 123.4)

  • #00A1B9

    #00A1B9

    oklch(65.1% 0.114 213.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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