#A871FE

Closest named color: Light Urple (#B36FF6). oklch(67% 0.203 298.8), rgb(168, 113, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.203)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.45:1
White text3.25:1

Values

HEX#A871FE
RGBrgb(168, 113, 254)
HSLhsl(263, 99%, 72%)
OKLCHoklch(67% 0.203 298.8)

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 #A871FE 3.25:1 AA large text Lc -64.9 Content text, not long reading
Black text on #A871FE 6.45:1 AA Lc 44.6 Non-text elements, placeholder text
#A871FE text on white 3.25:1 AA large text Lc 59.5 Large or bold text, headings
#A871FE text on black 6.45:1 AA Lc -42.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 400.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FF

    oklch(93.6% 0.036 299.7)

  3. Step 200

    200

    #DED0FF

    oklch(88.4% 0.066 298.7)

  4. Step 300

    300

    #CAB1FF

    oklch(81% 0.111 298.6)

  5. Step 400

    400 (this color)

    #A871FE

    oklch(67% 0.203 298.8)

  6. Step 500

    500

    #A05BFF

    oklch(63.1% 0.232 298.9)

  7. Step 600

    600

    #9020FC

    oklch(55.6% 0.282 298.9)

  8. Step 700

    700

    #7B05DC

    oklch(49.2% 0.262 298.8)

  9. Step 800

    800

    #6313B1

    oklch(42.6% 0.216 298.7)

  10. Step 900

    900

    #511D8C

    oklch(37.7% 0.169 299.2)

  11. Step 950

    950

    #2F1452

    oklch(27% 0.107 299)

Export this scale for Tailwind in the Tailwind colors tool

#A871FE 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)#318FFF0.146
Deuteranopia (no green cones)#458DFB0.134
Tritanopia (no blue cones)#958EAD0.157
Achromatopsia (no color)#8F8F8F0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #A871FE

    #A871FE

    oklch(67% 0.203 298.8)

  • #8CA100

    #8CA100

    oklch(66.9% 0.157 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A871FE

    #A871FE

    oklch(67% 0.203 298.8)

  • #6A8CFF

    #6A8CFF

    oklch(67% 0.174 269)

  • #D55ED1

    #D55ED1

    oklch(67% 0.202 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #A871FE

    #A871FE

    oklch(67% 0.203 298.8)

  • #B78F00

    #B78F00

    oklch(66.9% 0.137 88.7)

  • #00B34C

    #00B34C

    oklch(66.9% 0.19 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A871FE

    #A871FE

    oklch(67% 0.203 298.8)

  • #DB7800

    #DB7800

    oklch(67% 0.159 58.6)

  • #00AD96

    #00AD96

    oklch(66.9% 0.123 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A871FE

    #A871FE

    oklch(67% 0.203 298.8)

  • #F95546

    #F95546

    oklch(67.1% 0.202 28.8)

  • #8CA100

    #8CA100

    oklch(66.9% 0.157 118.6)

  • #00A8BB

    #00A8BB

    oklch(67% 0.115 208.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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