#A28CFB

Closest named color: Lavender Blue (#8B88F8). oklch(70.7% 0.159 290.9), rgb(162, 140, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text7.68:1
White text2.73:1

Values

HEX#A28CFB
RGBrgb(162, 140, 251)
HSLhsl(252, 93%, 77%)
OKLCHoklch(70.7% 0.159 290.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 #A28CFB 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #A28CFB 7.68:1 AAA Lc 51.3 Large or bold text, headings
#A28CFB text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#A28CFB text on black 7.68:1 AAA Lc -49.1 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

    #D8D3FC

    oklch(88.4% 0.056 290.8)

  4. Step 300

    300

    #C0B6FC

    oklch(80.9% 0.098 290.6)

  5. Step 400

    400 (this color)

    #A28CFB

    oklch(70.7% 0.159 290.9)

  6. Step 500

    500

    #8E6AF8

    oklch(63.1% 0.203 291.1)

  7. Step 600

    600

    #7A4CE7

    oklch(55.6% 0.221 291.1)

  8. Step 700

    700

    #673CC9

    oklch(49.2% 0.205 290.9)

  9. Step 800

    800

    #5333A2

    oklch(42.6% 0.169 290.7)

  10. Step 900

    900

    #442E81

    oklch(37.6% 0.133 290.8)

  11. Step 950

    950

    #281C4B

    oklch(27% 0.084 291.6)

Export this scale for Tailwind in the Tailwind colors tool

#A28CFB 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)#669EFF0.082
Deuteranopia (no green cones)#689AF80.078
Tritanopia (no blue cones)#8CA1B70.132
Achromatopsia (no color)#9C9C9C0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #A28CFB

    #A28CFB

    oklch(70.7% 0.159 290.9)

  • #A6A800

    #A6A800

    oklch(70.6% 0.155 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A28CFB

    #A28CFB

    oklch(70.7% 0.159 290.9)

  • #689FFF

    #689FFF

    oklch(70.7% 0.153 260.8)

  • #CC7CDC

    #CC7CDC

    oklch(70.6% 0.159 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #A28CFB

    #A28CFB

    oklch(70.7% 0.159 290.9)

  • #CF9500

    #CF9500

    oklch(70.7% 0.146 80.7)

  • #63B855

    #63B855

    oklch(70.6% 0.159 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A28CFB

    #A28CFB

    oklch(70.7% 0.159 290.9)

  • #EC7F35

    #EC7F35

    oklch(70.7% 0.158 51)

  • #00BC95

    #00BC95

    oklch(70.8% 0.139 170.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A28CFB

    #A28CFB

    oklch(70.7% 0.159 290.9)

  • #F37375

    #F37375

    oklch(70.7% 0.158 21)

  • #A6A800

    #A6A800

    oklch(70.6% 0.155 110.6)

  • #00B6BF

    #00B6BF

    oklch(70.6% 0.12 201.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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