#A871EB

Closest named color: Light Urple (#B36FF6). oklch(65.8% 0.18 302.6), rgb(168, 113, 235).

Aa

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

About this color

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

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

Values

HEX#A871EB
RGBrgb(168, 113, 235)
HSLhsl(267, 75%, 68%)
OKLCHoklch(65.8% 0.18 302.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 #A871EB 3.37:1 AA large text Lc -66.4 Content text, not long reading
Black text on #A871EB 6.22:1 AA Lc 43.2 Non-text elements, placeholder text
#A871EB text on white 3.37:1 AA large text Lc 60.9 Content text, not long reading
#A871EB text on black 6.22:1 AA Lc -40.8 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

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CBB3F0

    oklch(80.8% 0.088 302.5)

  5. Step 400

    400

    #B289E9

    oklch(70.7% 0.142 302.6)

  6. Step 500

    500 (this color)

    #A871EB

    oklch(65.8% 0.18 302.6)

  7. Step 600

    600

    #8B4CCF

    oklch(55.6% 0.195 302.6)

  8. Step 700

    700

    #763CB4

    oklch(49.1% 0.182 302.3)

  9. Step 800

    800

    #603391

    oklch(42.7% 0.15 302.5)

  10. Step 900

    900

    #4E2E74

    oklch(37.7% 0.117 302.2)

  11. Step 950

    950

    #2E1C44

    oklch(27.1% 0.074 302.6)

Export this scale for Tailwind in the Tailwind colors tool

#A871EB 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)#478BEF0.132
Deuteranopia (no green cones)#588BE80.120
Tritanopia (no blue cones)#9C88A30.136
Achromatopsia (no color)#8C8C8C0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A871EB

    #A871EB

    oklch(65.8% 0.18 302.6)

  • #81A000

    #81A000

    oklch(65.8% 0.16 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A871EB

    #A871EB

    oklch(65.8% 0.18 302.6)

  • #6E85FE

    #6E85FE

    oklch(65.8% 0.18 272.4)

  • #CF61C1

    #CF61C1

    oklch(65.9% 0.18 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #A871EB

    #A871EB

    oklch(65.8% 0.18 302.6)

  • #AF8E00

    #AF8E00

    oklch(65.8% 0.135 92.2)

  • #00AE5B

    #00AE5B

    oklch(65.8% 0.171 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A871EB

    #A871EB

    oklch(65.8% 0.18 302.6)

  • #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.

  • #A871EB

    #A871EB

    oklch(65.8% 0.18 302.6)

  • #EB5E43

    #EB5E43

    oklch(65.9% 0.18 32.8)

  • #81A000

    #81A000

    oklch(65.8% 0.16 122.4)

  • #00A3BB

    #00A3BB

    oklch(65.7% 0.115 213)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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