#A87AF1

Closest named color: Light Urple (#B36FF6). oklch(67.6% 0.174 299.6), rgb(168, 122, 241).

Aa

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

About this color

#A87AF1 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.174 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.030 away. Black text reads best on it, at 6.71:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.174)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.71:1
White text3.12:1

Values

HEX#A87AF1
RGBrgb(168, 122, 241)
HSLhsl(263, 81%, 71%)
OKLCHoklch(67.6% 0.174 299.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 #A87AF1 3.12:1 AA large text Lc -63.4 Content text, not long reading
Black text on #A87AF1 6.71:1 AA Lc 46.0 Large or bold text, headings
#A87AF1 text on white 3.12:1 AA large text Lc 58.1 Large or bold text, headings
#A87AF1 text on black 6.71: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CBB1FD

    oklch(81% 0.109 299.7)

  5. Step 400

    400 (this color)

    #A87AF1

    oklch(67.6% 0.174 299.6)

  6. Step 500

    500

    #A05EF9

    oklch(63.1% 0.222 299.6)

  7. Step 600

    600

    #8C3CE8

    oklch(55.6% 0.241 299.5)

  8. Step 700

    700

    #772BCA

    oklch(49.1% 0.225 299.4)

  9. Step 800

    800

    #6127A3

    oklch(42.8% 0.185 299.6)

  10. Step 900

    900

    #4F2781

    oklch(37.7% 0.144 299.9)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#A87AF1 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)#5291F50.117
Deuteranopia (no green cones)#5E91EE0.109
Tritanopia (no blue cones)#9990AA0.135
Achromatopsia (no color)#9292920.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #A87AF1

    #A87AF1

    oklch(67.6% 0.174 299.6)

  • #8CA400

    #8CA400

    oklch(67.6% 0.16 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A87AF1

    #A87AF1

    oklch(67.6% 0.174 299.6)

  • #6E8EFF

    #6E8EFF

    oklch(67.6% 0.17 269.5)

  • #D06ACA

    #D06ACA

    oklch(67.6% 0.174 329.5)

Open the analogous palette in the generator

Split complementary

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

  • #A87AF1

    #A87AF1

    oklch(67.6% 0.174 299.6)

  • #B99200

    #B99200

    oklch(67.7% 0.138 89.6)

  • #29B358

    #29B358

    oklch(67.5% 0.173 149.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A87AF1

    #A87AF1

    oklch(67.6% 0.174 299.6)

  • #DC7B00

    #DC7B00

    oklch(67.6% 0.159 59.9)

  • #00AF99

    #00AF99

    oklch(67.5% 0.123 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A87AF1

    #A87AF1

    oklch(67.6% 0.174 299.6)

  • #EF6554

    #EF6554

    oklch(67.6% 0.174 29.4)

  • #8CA400

    #8CA400

    oklch(67.6% 0.16 119.6)

  • #00AABE

    #00AABE

    oklch(67.6% 0.117 209.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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