#A287DF

Closest named color: Perrywinkle (#8F8CE7). oklch(68.3% 0.129 297), rgb(162, 135, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.06:1
White text2.97:1

Values

HEX#A287DF
RGBrgb(162, 135, 223)
HSLhsl(258, 58%, 70%)
OKLCHoklch(68.3% 0.129 297)

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 #A287DF 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #A287DF 7.06:1 AAA Lc 47.9 Large or bold text, headings
#A287DF text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#A287DF text on black 7.06:1 AAA Lc -45.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD4F4

    oklch(88.6% 0.044 296.9)

  4. Step 300

    300

    #C6B6EF

    oklch(80.9% 0.081 297.4)

  5. Step 400

    400 (this color)

    #A287DF

    oklch(68.3% 0.129 297)

  6. Step 500

    500

    #9570E0

    oklch(63.2% 0.165 296.6)

  7. Step 600

    600

    #8155CD

    oklch(55.7% 0.179 297.1)

  8. Step 700

    700

    #6D44B2

    oklch(49.1% 0.167 297)

  9. Step 800

    800

    #593990

    oklch(42.8% 0.138 297.2)

  10. Step 900

    900

    #493273

    oklch(37.8% 0.108 297.3)

  11. Step 950

    950

    #2A1E43

    oklch(27% 0.067 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#A287DF 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)#6F96E20.074
Deuteranopia (no green cones)#7395DD0.070
Tritanopia (no blue cones)#9696A80.104
Achromatopsia (no color)#9696960.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #A287DF

    #A287DF

    oklch(68.3% 0.129 297)

  • #94A33B

    #94A33B

    oklch(68.3% 0.129 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A287DF

    #A287DF

    oklch(68.3% 0.129 297)

  • #7596E9

    #7596E9

    oklch(68.4% 0.129 266.6)

  • #C37BC3

    #C37BC3

    oklch(68.3% 0.13 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #A287DF

    #A287DF

    oklch(68.3% 0.129 297)

  • #BC9324

    #BC9324

    oklch(68.4% 0.129 86.7)

  • #5EAF69

    #5EAF69

    oklch(68.5% 0.129 147)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A287DF

    #A287DF

    oklch(68.3% 0.129 297)

  • #D48341

    #D48341

    oklch(68.3% 0.128 57.3)

  • #00B298

    #00B298

    oklch(68.3% 0.126 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A287DF

    #A287DF

    oklch(68.3% 0.129 297)

  • #DE776D

    #DE776D

    oklch(68.3% 0.13 26.8)

  • #94A33B

    #94A33B

    oklch(68.3% 0.129 116.9)

  • #00ADBE

    #00ADBE

    oklch(68.3% 0.117 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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