#A871EC

Closest named color: Light Urple (#B36FF6). oklch(65.9% 0.181 302.3), rgb(168, 113, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.181)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.23:1
White text3.36:1

Values

HEX#A871EC
RGBrgb(168, 113, 236)
HSLhsl(267, 76%, 68%)
OKLCHoklch(65.9% 0.181 302.3)

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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CBB3F1

    oklch(80.8% 0.09 302.2)

  5. Step 400

    400

    #B289E9

    oklch(70.7% 0.142 302.6)

  6. Step 500

    500 (this color)

    #A871EC

    oklch(65.9% 0.181 302.3)

  7. Step 600

    600

    #8B4CD0

    oklch(55.6% 0.196 302.4)

  8. Step 700

    700

    #763CB4

    oklch(49.1% 0.182 302.3)

  9. Step 800

    800

    #603292

    oklch(42.7% 0.152 302.4)

  10. Step 900

    900

    #4E2E74

    oklch(37.7% 0.117 302.2)

  11. Step 950

    950

    #2E1B44

    oklch(26.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#A871EC 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)#468BF00.133
Deuteranopia (no green cones)#578CE90.122
Tritanopia (no blue cones)#9B88A40.136
Achromatopsia (no color)#8C8C8C0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #A871EC

    #A871EC

    oklch(65.9% 0.181 302.3)

  • #81A000

    #81A000

    oklch(65.8% 0.16 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A871EC

    #A871EC

    oklch(65.9% 0.181 302.3)

  • #6E85FF

    #6E85FF

    oklch(65.9% 0.181 272.5)

  • #CF61C2

    #CF61C2

    oklch(65.9% 0.181 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #A871EC

    #A871EC

    oklch(65.9% 0.181 302.3)

  • #AF8E00

    #AF8E00

    oklch(65.8% 0.135 92.2)

  • #00AE5A

    #00AE5A

    oklch(65.8% 0.172 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A871EC

    #A871EC

    oklch(65.9% 0.181 302.3)

  • #D17900

    #D17900

    oklch(65.8% 0.151 62.5)

  • #00A998

    #00A998

    oklch(65.9% 0.118 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A871EC

    #A871EC

    oklch(65.9% 0.181 302.3)

  • #EB5D44

    #EB5D44

    oklch(65.8% 0.181 32.1)

  • #81A000

    #81A000

    oklch(65.8% 0.16 122.4)

  • #00A4BB

    #00A4BB

    oklch(66% 0.115 212.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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