#A28EFB

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.1% 0.156 290.3), rgb(162, 142, 251).

Aa

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

About this color

#A28EFB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.156 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.036 away. Black text reads best on it, at 7.79:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.156)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.79:1
White text2.69:1

Values

HEX#A28EFB
RGBrgb(162, 142, 251)
HSLhsl(251, 93%, 77%)
OKLCHoklch(71.1% 0.156 290.3)

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 #A28EFB 2.69:1 Fails Lc -57.3 Large or bold text, headings
Black text on #A28EFB 7.79:1 AAA Lc 51.9 Large or bold text, headings
#A28EFB text on white 2.69:1 Fails Lc 52.1 Large or bold text, headings
#A28EFB text on black 7.79:1 AAA Lc -49.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FB

    oklch(88.5% 0.053 290)

  4. Step 300

    300

    #C0B6FC

    oklch(80.9% 0.098 290.6)

  5. Step 400

    400 (this color)

    #A28EFB

    oklch(71.1% 0.156 290.3)

  6. Step 500

    500

    #8C6CF7

    oklch(63.2% 0.199 290.1)

  7. Step 600

    600

    #784EE6

    oklch(55.6% 0.217 290.2)

  8. Step 700

    700

    #663DC8

    oklch(49.1% 0.202 290.5)

  9. Step 800

    800

    #5234A1

    oklch(42.6% 0.167 290.2)

  10. Step 900

    900

    #442F80

    oklch(37.7% 0.13 290.7)

  11. Step 950

    950

    #271D4B

    oklch(27% 0.082 289.8)

Export this scale for Tailwind in the Tailwind colors tool

#A28EFB 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)#69A0FF0.079
Deuteranopia (no green cones)#6B9BF80.074
Tritanopia (no blue cones)#8CA3B80.130
Achromatopsia (no color)#9E9E9E0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #A28EFB

    #A28EFB

    oklch(71.1% 0.156 290.3)

  • #A8A900

    #A8A900

    oklch(71% 0.155 110.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A28EFB

    #A28EFB

    oklch(71.1% 0.156 290.3)

  • #68A0FF

    #68A0FF

    oklch(71% 0.152 260.4)

  • #CC7FDD

    #CC7FDD

    oklch(71.1% 0.155 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #A28EFB

    #A28EFB

    oklch(71.1% 0.156 290.3)

  • #D19600

    #D19600

    oklch(71.2% 0.147 80.4)

  • #68B957

    #68B957

    oklch(71.2% 0.156 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A28EFB

    #A28EFB

    oklch(71.1% 0.156 290.3)

  • #ED813B

    #ED813B

    oklch(71.2% 0.156 50.4)

  • #00BD95

    #00BD95

    oklch(71% 0.14 170.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A28EFB

    #A28EFB

    oklch(71.1% 0.156 290.3)

  • #F37578

    #F37578

    oklch(71.1% 0.155 20.4)

  • #A8A900

    #A8A900

    oklch(71% 0.155 110.2)

  • #00B8C0

    #00B8C0

    oklch(71.1% 0.121 200.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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