#A271C8

Closest named color: Deep Lilac (#966EBD). oklch(63.3% 0.136 308.9), rgb(162, 113, 200).

Aa

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

About this color

#A271C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.136 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.027 away. Black text reads best on it, at 5.73:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.73:1
White text3.66:1

Values

HEX#A271C8
RGBrgb(162, 113, 200)
HSLhsl(274, 44%, 61%)
OKLCHoklch(63.3% 0.136 308.9)

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 #A271C8 3.66:1 AA large text Lc -69.5 Content text, not long reading
Black text on #A271C8 5.73:1 AA Lc 40.0 Non-text elements, placeholder text
#A271C8 text on white 3.66:1 AA large text Lc 64.0 Content text, not long reading
#A271C8 text on black 5.73:1 AA Lc -37.6 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F4

    oklch(93.6% 0.018 306.7)

  3. Step 200

    200

    #E0D3EC

    oklch(88.5% 0.037 308.8)

  4. Step 300

    300

    #CDB5E2

    oklch(80.8% 0.067 309)

  5. Step 400

    400

    #B48ED3

    oklch(70.7% 0.106 309)

  6. Step 500

    500 (this color)

    #A271C8

    oklch(63.3% 0.136 308.9)

  7. Step 600

    600

    #8C57B4

    oklch(55.6% 0.148 308.7)

  8. Step 700

    700

    #77479B

    oklch(49.2% 0.137 308.6)

  9. Step 800

    800

    #613A7E

    oklch(42.6% 0.115 308.8)

  10. Step 900

    900

    #4F3365

    oklch(37.7% 0.088 308.6)

  11. Step 950

    950

    #2E1E3B

    oklch(26.9% 0.056 308.5)

Export this scale for Tailwind in the Tailwind colors tool

#A271C8 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)#5D83CB0.104
Deuteranopia (no green cones)#6A86C60.094
Tritanopia (no blue cones)#9D7F930.098
Achromatopsia (no color)#8686860.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #A271C8

    #A271C8

    oklch(63.3% 0.136 308.9)

  • #709936

    #709936

    oklch(63.2% 0.136 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A271C8

    #A271C8

    oklch(63.3% 0.136 308.9)

  • #797FDA

    #797FDA

    oklch(63.2% 0.136 278.9)

  • #BE67A5

    #BE67A5

    oklch(63.3% 0.135 339)

Open the analogous palette in the generator

Split complementary

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

  • #A271C8

    #A271C8

    oklch(63.3% 0.136 308.9)

  • #9E8A00

    #9E8A00

    oklch(63.2% 0.131 99)

  • #22A26B

    #22A26B

    oklch(63.2% 0.136 159)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A271C8

    #A271C8

    oklch(63.3% 0.136 308.9)

  • #BE7809

    #BE7809

    oklch(63.2% 0.136 68.9)

  • #009F97

    #009F97

    oklch(63.3% 0.11 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A271C8

    #A271C8

    oklch(63.3% 0.136 308.9)

  • #CE6948

    #CE6948

    oklch(63.3% 0.137 38.7)

  • #709936

    #709936

    oklch(63.2% 0.136 128.9)

  • #009AB9

    #009AB9

    oklch(63.4% 0.115 218.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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