#A28EEF

Closest named color: Perrywinkle (#8F8CE7). oklch(70.4% 0.14 291.9), rgb(162, 142, 239).

Aa

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

About this color

#A28EEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.140 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.031 away. Black text reads best on it, at 7.65:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.65:1
White text2.74:1

Values

HEX#A28EEF
RGBrgb(162, 142, 239)
HSLhsl(252, 75%, 75%)
OKLCHoklch(70.4% 0.14 291.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 #A28EEF 2.74:1 Fails Lc -58.2 Large or bold text, headings
Black text on #A28EEF 7.65:1 AAA Lc 51.1 Large or bold text, headings
#A28EEF text on white 2.74:1 Fails Lc 52.9 Large or bold text, headings
#A28EEF text on black 7.65:1 AAA Lc -48.9 Large or bold text, headings

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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #D9D4F7

    oklch(88.5% 0.048 291.9)

  4. Step 300

    300

    #C1B7F5

    oklch(80.9% 0.087 291.7)

  5. Step 400

    400 (this color)

    #A28EEF

    oklch(70.4% 0.14 291.9)

  6. Step 500

    500

    #8E70EB

    oklch(63.2% 0.178 291.7)

  7. Step 600

    600

    #7A54D9

    oklch(55.7% 0.194 292.1)

  8. Step 700

    700

    #6743BC

    oklch(49.1% 0.181 292.1)

  9. Step 800

    800

    #533898

    oklch(42.6% 0.15 291.7)

  10. Step 900

    900

    #443279

    oklch(37.7% 0.116 291.5)

  11. Step 950

    950

    #281E47

    oklch(27% 0.074 292)

Export this scale for Tailwind in the Tailwind colors tool

#A28EEF 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)#709EF30.071
Deuteranopia (no green cones)#729AED0.067
Tritanopia (no blue cones)#90A0B30.116
Achromatopsia (no color)#9C9C9C0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #A28EEF

    #A28EEF

    oklch(70.4% 0.14 291.9)

  • #A3A82D

    #A3A82D

    oklch(70.5% 0.14 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A28EEF

    #A28EEF

    oklch(70.4% 0.14 291.9)

  • #6E9EF6

    #6E9EF6

    oklch(70.4% 0.14 261.7)

  • #C880D3

    #C880D3

    oklch(70.4% 0.141 322.1)

Open the analogous palette in the generator

Split complementary

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

  • #A28EEF

    #A28EEF

    oklch(70.4% 0.14 291.9)

  • #CB9518

    #CB9518

    oklch(70.4% 0.14 81.5)

  • #6AB561

    #6AB561

    oklch(70.4% 0.14 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A28EEF

    #A28EEF

    oklch(70.4% 0.14 291.9)

  • #E38445

    #E38445

    oklch(70.5% 0.14 52)

  • #00BB96

    #00BB96

    oklch(70.5% 0.137 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A28EEF

    #A28EEF

    oklch(70.4% 0.14 291.9)

  • #EA7978

    #EA7978

    oklch(70.4% 0.14 21.8)

  • #A3A82D

    #A3A82D

    oklch(70.5% 0.14 111.8)

  • #00B5BF

    #00B5BF

    oklch(70.4% 0.12 201.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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