#A27BEF

Closest named color: Periwinkle (#8E82FE). oklch(67.1% 0.169 297.1), rgb(162, 123, 239).

Aa

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

About this color

#A27BEF is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.169 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.038 away. Black text reads best on it, at 6.61:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.169)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text6.61:1
White text3.17:1

Values

HEX#A27BEF
RGBrgb(162, 123, 239)
HSLhsl(260, 78%, 71%)
OKLCHoklch(67.1% 0.169 297.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 #A27BEF 3.17:1 AA large text Lc -64.1 Content text, not long reading
Black text on #A27BEF 6.61:1 AA Lc 45.4 Large or bold text, headings
#A27BEF text on white 3.17:1 AA large text Lc 58.7 Large or bold text, headings
#A27BEF text on black 6.61:1 AA Lc -43.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 400.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DDD2FC

    oklch(88.6% 0.058 297.2)

  4. Step 300

    300

    #C8B2FD

    oklch(80.9% 0.106 297.4)

  5. Step 400

    400 (this color)

    #A27BEF

    oklch(67.1% 0.169 297.1)

  6. Step 500

    500

    #9B62F9

    oklch(63.2% 0.216 297.2)

  7. Step 600

    600

    #8741E8

    oklch(55.6% 0.235 297.2)

  8. Step 700

    700

    #7331C9

    oklch(49.1% 0.217 297.4)

  9. Step 800

    800

    #5D2BA3

    oklch(42.7% 0.18 297.1)

  10. Step 900

    900

    #4C2981

    oklch(37.7% 0.141 297.5)

  11. Step 950

    950

    #2C194C

    oklch(26.9% 0.09 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#A27BEF 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)#5391F30.108
Deuteranopia (no green cones)#5C8FEC0.100
Tritanopia (no blue cones)#9191AA0.133
Achromatopsia (no color)#9090900.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #A27BEF

    #A27BEF

    oklch(67.1% 0.169 297.1)

  • #8FA100

    #8FA100

    oklch(67.1% 0.155 117.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A27BEF

    #A27BEF

    oklch(67.1% 0.169 297.1)

  • #678EFC

    #678EFC

    oklch(67.1% 0.168 267.1)

  • #CA6BCB

    #CA6BCB

    oklch(67.1% 0.169 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #A27BEF

    #A27BEF

    oklch(67.1% 0.169 297.1)

  • #BA8F00

    #BA8F00

    oklch(67.2% 0.137 87.1)

  • #3AB053

    #3AB053

    oklch(67% 0.169 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A27BEF

    #A27BEF

    oklch(67.1% 0.169 297.1)

  • #DD7700

    #DD7700

    oklch(67.1% 0.162 57.5)

  • #00AE94

    #00AE94

    oklch(67.1% 0.125 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A27BEF

    #A27BEF

    oklch(67.1% 0.169 297.1)

  • #EB655A

    #EB655A

    oklch(67.1% 0.168 27.2)

  • #8FA100

    #8FA100

    oklch(67.1% 0.155 117.4)

  • #00A9B9

    #00A9B9

    oklch(67.1% 0.115 206.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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