#A27FE2

Closest named color: Perrywinkle (#8F8CE7). oklch(67.1% 0.146 298.7), rgb(162, 127, 226).

Aa

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

About this color

#A27FE2 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.146 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.040 away. Black text reads best on it, at 6.67:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.146)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.67:1
White text3.14:1

Values

HEX#A27FE2
RGBrgb(162, 127, 226)
HSLhsl(261, 63%, 69%)
OKLCHoklch(67.1% 0.146 298.7)

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 #A27FE2 3.14:1 AA large text Lc -63.8 Content text, not long reading
Black text on #A27FE2 6.67:1 AA Lc 45.6 Large or bold text, headings
#A27FE2 text on white 3.14:1 AA large text Lc 58.4 Large or bold text, headings
#A27FE2 text on black 6.67:1 AA Lc -43.3 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 400.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400 (this color)

    #A27FE2

    oklch(67.1% 0.146 298.7)

  6. Step 500

    500

    #9A69E9

    oklch(63.1% 0.187 298.6)

  7. Step 600

    600

    #864CD7

    oklch(55.6% 0.203 298.8)

  8. Step 700

    700

    #723CBA

    oklch(49.1% 0.188 298.9)

  9. Step 800

    800

    #5C3397

    oklch(42.7% 0.156 298.4)

  10. Step 900

    900

    #4B2E78

    oklch(37.7% 0.122 298.4)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#A27FE2 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)#6291E60.091
Deuteranopia (no green cones)#6990E00.085
Tritanopia (no blue cones)#9591A60.115
Achromatopsia (no color)#9191910.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #A27FE2

    #A27FE2

    oklch(67.1% 0.146 298.7)

  • #8DA122

    #8DA122

    oklch(67.1% 0.146 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A27FE2

    #A27FE2

    oklch(67.1% 0.146 298.7)

  • #708FEF

    #708FEF

    oklch(67% 0.147 268.7)

  • #C572C1

    #C572C1

    oklch(67% 0.145 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #A27FE2

    #A27FE2

    oklch(67.1% 0.146 298.7)

  • #B89000

    #B89000

    oklch(67.2% 0.137 88.8)

  • #49AD61

    #49AD61

    oklch(66.9% 0.145 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A27FE2

    #A27FE2

    oklch(67.1% 0.146 298.7)

  • #D67C25

    #D67C25

    oklch(67.1% 0.146 58.8)

  • #00AE96

    #00AE96

    oklch(67.2% 0.123 178.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A27FE2

    #A27FE2

    oklch(67.1% 0.146 298.7)

  • #E16E60

    #E16E60

    oklch(67.1% 0.146 28.7)

  • #8DA122

    #8DA122

    oklch(67.1% 0.146 118.6)

  • #00A8BB

    #00A8BB

    oklch(67% 0.115 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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