#A271E7

Closest named color: Medium Purple (#9370DB). oklch(65% 0.174 300.8), rgb(162, 113, 231).

Aa

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

About this color

#A271E7 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.174 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 6.05:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.174)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.05:1
White text3.46:1

Values

HEX#A271E7
RGBrgb(162, 113, 231)
HSLhsl(265, 71%, 67%)
OKLCHoklch(65% 0.174 300.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 #A271E7 3.46:1 AA large text Lc -67.5 Content text, not long reading
Black text on #A271E7 6.05:1 AA Lc 42.1 Non-text elements, placeholder text
#A271E7 text on white 3.46:1 AA large text Lc 62.0 Content text, not long reading
#A271E7 text on black 6.05:1 AA Lc -39.7 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED3F4

    oklch(88.6% 0.046 300.7)

  4. Step 300

    300

    #C9B4F0

    oklch(80.8% 0.086 300.5)

  5. Step 400

    400

    #AF8BE8

    oklch(70.7% 0.137 300.8)

  6. Step 500

    500 (this color)

    #A271E7

    oklch(65% 0.174 300.8)

  7. Step 600

    600

    #884FCE

    oklch(55.6% 0.189 301.1)

  8. Step 700

    700

    #733FB3

    oklch(49.1% 0.176 300.6)

  9. Step 800

    800

    #5E3590

    oklch(42.7% 0.145 301.2)

  10. Step 900

    900

    #4C2F73

    oklch(37.6% 0.113 300.7)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#A271E7 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)#4889EB0.123
Deuteranopia (no green cones)#5689E40.113
Tritanopia (no blue cones)#9487A10.133
Achromatopsia (no color)#8A8A8A0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A271E7

    #A271E7

    oklch(65% 0.174 300.8)

  • #829C00

    #829C00

    oklch(64.9% 0.155 120.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A271E7

    #A271E7

    oklch(65% 0.174 300.8)

  • #6984F8

    #6984F8

    oklch(64.9% 0.175 271)

  • #C961BF

    #C961BF

    oklch(65% 0.174 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #A271E7

    #A271E7

    oklch(65% 0.174 300.8)

  • #AE8B00

    #AE8B00

    oklch(65.1% 0.133 90.8)

  • #08AB53

    #08AB53

    oklch(64.9% 0.174 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A271E7

    #A271E7

    oklch(65% 0.174 300.8)

  • #CF7500

    #CF7500

    oklch(64.9% 0.151 60.9)

  • #00A693

    #00A693

    oklch(65% 0.117 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A271E7

    #A271E7

    oklch(65% 0.174 300.8)

  • #E55D49

    #E55D49

    oklch(64.9% 0.173 30.7)

  • #829C00

    #829C00

    oklch(64.9% 0.155 120.8)

  • #00A1B6

    #00A1B6

    oklch(65% 0.113 211)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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