#A17FEA

Closest named color: Lavender Blue (#8B88F8). oklch(67.4% 0.156 296.6), rgb(161, 127, 234).

Aa

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

About this color

#A17FEA is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.156 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.040 away. Black text reads best on it, at 6.73:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.156)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text6.73:1
White text3.11:1

Values

HEX#A17FEA
RGBrgb(161, 127, 234)
HSLhsl(259, 72%, 71%)
OKLCHoklch(67.4% 0.156 296.6)

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 #A17FEA 3.11:1 AA large text Lc -63.4 Content text, not long reading
Black text on #A17FEA 6.73:1 AA Lc 46.1 Large or bold text, headings
#A17FEA text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#A17FEA text on black 6.73:1 AA Lc -43.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 400.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2F9

    oklch(88.4% 0.054 297)

  4. Step 300

    300

    #C6B4F9

    oklch(80.9% 0.098 296.1)

  5. Step 400

    400 (this color)

    #A17FEA

    oklch(67.4% 0.156 296.6)

  6. Step 500

    500

    #9867F1

    oklch(63.1% 0.199 296.6)

  7. Step 600

    600

    #8449E0

    oklch(55.6% 0.217 296.6)

  8. Step 700

    700

    #7038C2

    oklch(49% 0.202 296.8)

  9. Step 800

    800

    #5B309D

    oklch(42.7% 0.167 296.7)

  10. Step 900

    900

    #4A2D7D

    oklch(37.8% 0.13 296.3)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#A17FEA 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)#5D92EE0.095
Deuteranopia (no green cones)#6391E70.090
Tritanopia (no blue cones)#9193A90.125
Achromatopsia (no color)#9292920.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #A17FEA

    #A17FEA

    oklch(67.4% 0.156 296.6)

  • #91A100

    #91A100

    oklch(67.3% 0.155 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A17FEA

    #A17FEA

    oklch(67.4% 0.156 296.6)

  • #6A91F6

    #6A91F6

    oklch(67.5% 0.156 266.4)

  • #C771C8

    #C771C8

    oklch(67.4% 0.155 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #A17FEA

    #A17FEA

    oklch(67.4% 0.156 296.6)

  • #BB8F00

    #BB8F00

    oklch(67.3% 0.138 86.6)

  • #49AF59

    #49AF59

    oklch(67.3% 0.156 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A17FEA

    #A17FEA

    oklch(67.4% 0.156 296.6)

  • #DC791A

    #DC791A

    oklch(67.4% 0.156 56.8)

  • #00AF94

    #00AF94

    oklch(67.4% 0.126 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A17FEA

    #A17FEA

    oklch(67.4% 0.156 296.6)

  • #E76B61

    #E76B61

    oklch(67.5% 0.156 26.7)

  • #91A100

    #91A100

    oklch(67.3% 0.155 116.6)

  • #00AABA

    #00AABA

    oklch(67.4% 0.116 206.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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