#A271BF

Closest named color: Soft Purple (#A66FB5). oklch(62.9% 0.125 312.1), rgb(162, 113, 191).

Aa

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

About this color

#A271BF is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.125 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.016 away. Black text reads best on it, at 5.65:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.65:1
White text3.71:1

Values

HEX#A271BF
RGBrgb(162, 113, 191)
HSLhsl(278, 38%, 60%)
OKLCHoklch(62.9% 0.125 312.1)

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 #A271BF 3.71:1 AA large text Lc -70.1 Content text, not long reading
Black text on #A271BF 5.65:1 AA Lc 39.5 Non-text elements, placeholder text
#A271BF text on white 3.71:1 AA large text Lc 64.6 Content text, not long reading
#A271BF text on black 5.65:1 AA Lc -37.1 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CEB6DE

    oklch(80.9% 0.061 311.8)

  5. Step 400

    400

    #B58FCD

    oklch(70.7% 0.097 311.9)

  6. Step 500

    500 (this color)

    #A271BF

    oklch(62.9% 0.125 312.1)

  7. Step 600

    600

    #8E59AC

    oklch(55.7% 0.135 312.2)

  8. Step 700

    700

    #784894

    oklch(49% 0.127 311.7)

  9. Step 800

    800

    #623C78

    oklch(42.7% 0.104 311.9)

  10. Step 900

    900

    #503461

    oklch(37.8% 0.081 311.7)

  11. Step 950

    950

    #2F1F39

    oklch(27.1% 0.051 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#A271BF 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)#6282C20.098
Deuteranopia (no green cones)#6E86BD0.090
Tritanopia (no blue cones)#9F7C8F0.087
Achromatopsia (no color)#8484840.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #A271BF

    #A271BF

    oklch(62.9% 0.125 312.1)

  • #6C9843

    #6C9843

    oklch(62.8% 0.125 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A271BF

    #A271BF

    oklch(62.9% 0.125 312.1)

  • #7E7ED2

    #7E7ED2

    oklch(62.9% 0.125 282.2)

  • #BB689E

    #BB689E

    oklch(62.8% 0.125 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #A271BF

    #A271BF

    oklch(62.9% 0.125 312.1)

  • #988B18

    #988B18

    oklch(62.9% 0.125 102.3)

  • #29A071

    #29A071

    oklch(63% 0.126 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A271BF

    #A271BF

    oklch(62.9% 0.125 312.1)

  • #B77B1E

    #B77B1E

    oklch(63% 0.125 72.2)

  • #009D9A

    #009D9A

    oklch(62.9% 0.108 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A271BF

    #A271BF

    oklch(62.9% 0.125 312.1)

  • #C76D48

    #C76D48

    oklch(63% 0.125 42.5)

  • #6C9843

    #6C9843

    oklch(62.8% 0.125 131.8)

  • #0097BB

    #0097BB

    oklch(62.7% 0.116 222.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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