#A28FFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.5% 0.16 289.5), rgb(162, 143, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.160)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.90:1
White text2.65:1

Values

HEX#A28FFF
RGBrgb(162, 143, 255)
HSLhsl(250, 100%, 78%)
OKLCHoklch(71.5% 0.16 289.5)

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 #A28FFF 2.65:1 Fails Lc -56.7 Large or bold text, headings
Black text on #A28FFF 7.90:1 AAA Lc 52.5 Large or bold text, headings
#A28FFF text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#A28FFF text on black 7.90:1 AAA Lc -50.4 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

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300

    #BFB6FD

    oklch(80.9% 0.1 289.8)

  5. Step 400

    400 (this color)

    #A28FFF

    oklch(71.5% 0.16 289.5)

  6. Step 500

    500

    #8B6BFA

    oklch(63.1% 0.204 289.5)

  7. Step 600

    600

    #774DE9

    oklch(55.6% 0.222 289.5)

  8. Step 700

    700

    #643CCB

    oklch(49.1% 0.207 289.3)

  9. Step 800

    800

    #5233A4

    oklch(42.7% 0.172 289.7)

  10. Step 900

    900

    #432F82

    oklch(37.7% 0.133 289.6)

  11. Step 950

    950

    #271C4C

    oklch(26.9% 0.085 290)

Export this scale for Tailwind in the Tailwind colors tool

#A28FFF 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)#68A1FF0.080
Deuteranopia (no green cones)#699CFC0.076
Tritanopia (no blue cones)#8AA5BB0.133
Achromatopsia (no color)#9F9F9F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #A28FFF

    #A28FFF

    oklch(71.5% 0.16 289.5)

  • #AAAA00

    #AAAA00

    oklch(71.4% 0.156 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A28FFF

    #A28FFF

    oklch(71.5% 0.16 289.5)

  • #69A2FF

    #69A2FF

    oklch(71.4% 0.149 259.7)

  • #CE7FE1

    #CE7FE1

    oklch(71.5% 0.16 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #A28FFF

    #A28FFF

    oklch(71.5% 0.16 289.5)

  • #D39600

    #D39600

    oklch(71.4% 0.148 79.5)

  • #69BA54

    #69BA54

    oklch(71.4% 0.16 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A28FFF

    #A28FFF

    oklch(71.5% 0.16 289.5)

  • #F0803A

    #F0803A

    oklch(71.4% 0.16 49.5)

  • #00BF94

    #00BF94

    oklch(71.5% 0.143 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A28FFF

    #A28FFF

    oklch(71.5% 0.16 289.5)

  • #F6747A

    #F6747A

    oklch(71.4% 0.16 19.2)

  • #AAAA00

    #AAAA00

    oklch(71.4% 0.156 109.8)

  • #00B9C0

    #00B9C0

    oklch(71.4% 0.121 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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