#A178DE

Closest named color: Medium Purple (#9370DB). oklch(65.6% 0.152 300.9), rgb(161, 120, 222).

Aa

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

About this color

#A178DE is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.152 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.031 away. Black text reads best on it, at 6.25:1.

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

Values

HEX#A178DE
RGBrgb(161, 120, 222)
HSLhsl(264, 61%, 67%)
OKLCHoklch(65.6% 0.152 300.9)

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 #A178DE 3.35:1 AA large text Lc -66.3 Content text, not long reading
Black text on #A178DE 6.25:1 AA Lc 43.2 Non-text elements, placeholder text
#A178DE text on white 3.35:1 AA large text Lc 60.8 Content text, not long reading
#A178DE text on black 6.25:1 AA Lc -40.9 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD3F1

    oklch(88.4% 0.042 300.7)

  4. Step 300

    300

    #C8B6EA

    oklch(80.9% 0.075 300.6)

  5. Step 400

    400

    #AD8FDF

    oklch(70.8% 0.118 300.7)

  6. Step 500

    500 (this color)

    #A178DE

    oklch(65.6% 0.152 300.9)

  7. Step 600

    600

    #8556C3

    oklch(55.6% 0.165 301.1)

  8. Step 700

    700

    #7046A8

    oklch(49% 0.152 300.7)

  9. Step 800

    800

    #5B3A88

    oklch(42.6% 0.126 300.7)

  10. Step 900

    900

    #4B336D

    oklch(37.8% 0.098 300.9)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#A178DE 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)#5A8CE20.102
Deuteranopia (no green cones)#638CDB0.095
Tritanopia (no blue cones)#958AA00.117
Achromatopsia (no color)#8C8C8C0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #A178DE

    #A178DE

    oklch(65.6% 0.152 300.9)

  • #849E14

    #849E14

    oklch(65.6% 0.152 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A178DE

    #A178DE

    oklch(65.6% 0.152 300.9)

  • #6F89ED

    #6F89ED

    oklch(65.6% 0.152 270.8)

  • #C46BBB

    #C46BBB

    oklch(65.6% 0.151 331)

Open the analogous palette in the generator

Split complementary

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

  • #A178DE

    #A178DE

    oklch(65.6% 0.152 300.9)

  • #B08C00

    #B08C00

    oklch(65.5% 0.134 90.4)

  • #37AA5E

    #37AA5E

    oklch(65.5% 0.152 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A178DE

    #A178DE

    oklch(65.6% 0.152 300.9)

  • #D17704

    #D17704

    oklch(65.5% 0.151 61.1)

  • #00A895

    #00A895

    oklch(65.6% 0.118 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A178DE

    #A178DE

    oklch(65.6% 0.152 300.9)

  • #DE6855

    #DE6855

    oklch(65.6% 0.152 30.9)

  • #849E14

    #849E14

    oklch(65.6% 0.152 120.9)

  • #00A3B8

    #00A3B8

    oklch(65.6% 0.114 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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