#A287FC

Closest named color: Periwinkle (#8E82FE). oklch(69.9% 0.167 292.1), rgb(162, 135, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.167)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text7.40:1
White text2.83:1

Values

HEX#A287FC
RGBrgb(162, 135, 252)
HSLhsl(254, 95%, 76%)
OKLCHoklch(69.9% 0.167 292.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 #A287FC 2.83:1 Fails Lc -59.5 Large or bold text, headings
Black text on #A287FC 7.40:1 AAA Lc 49.8 Large or bold text, headings
#A287FC text on white 2.83:1 Fails Lc 54.2 Large or bold text, headings
#A287FC text on black 7.40:1 AAA Lc -47.6 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

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #D9D3FD

    oklch(88.5% 0.058 291.7)

  4. Step 300

    300

    #C2B4FF

    oklch(80.9% 0.105 292.4)

  5. Step 400

    400 (this color)

    #A287FC

    oklch(69.9% 0.167 292.1)

  6. Step 500

    500

    #9166FD

    oklch(63.1% 0.214 292.3)

  7. Step 600

    600

    #7D47EC

    oklch(55.6% 0.232 292.1)

  8. Step 700

    700

    #6A36CD

    oklch(49.1% 0.216 292.2)

  9. Step 800

    800

    #562FA6

    oklch(42.7% 0.179 292.1)

  10. Step 900

    900

    #462C84

    oklch(37.7% 0.14 291.9)

  11. Step 950

    950

    #291B4D

    oklch(27% 0.088 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#A287FC 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)#5D9BFF0.093
Deuteranopia (no green cones)#6197F90.088
Tritanopia (no blue cones)#8C9EB60.137
Achromatopsia (no color)#9999990.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #A287FC

    #A287FC

    oklch(69.9% 0.167 292.1)

  • #A1A700

    #A1A700

    oklch(70% 0.155 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A287FC

    #A287FC

    oklch(69.9% 0.167 292.1)

  • #679BFF

    #679BFF

    oklch(69.9% 0.158 262.3)

  • #CD77DB

    #CD77DB

    oklch(69.9% 0.167 321.8)

Open the analogous palette in the generator

Split complementary

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

  • #A287FC

    #A287FC

    oklch(69.9% 0.167 292.1)

  • #CA9300

    #CA9300

    oklch(69.8% 0.144 81.8)

  • #58B750

    #58B750

    oklch(69.8% 0.168 142.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A287FC

    #A287FC

    oklch(69.9% 0.167 292.1)

  • #EC7B22

    #EC7B22

    oklch(69.9% 0.167 52.4)

  • #00B995

    #00B995

    oklch(70% 0.135 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A287FC

    #A287FC

    oklch(69.9% 0.167 292.1)

  • #F46D6D

    #F46D6D

    oklch(69.9% 0.167 22.4)

  • #A1A700

    #A1A700

    oklch(70% 0.155 112.3)

  • #00B3BE

    #00B3BE

    oklch(69.8% 0.119 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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