#AF56EE

Closest named color: Lighter Purple (#A55AF4). oklch(63% 0.224 308.2), rgb(175, 86, 238).

Aa

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

About this color

#AF56EE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.224 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.021 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.224)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.38:1
White text3.89:1

Values

HEX#AF56EE
RGBrgb(175, 86, 238)
HSLhsl(275, 82%, 64%)
OKLCHoklch(63% 0.224 308.2)

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 #AF56EE 3.89:1 AA large text Lc -71.3 Content text, not long reading
Black text on #AF56EE 5.38:1 AA Lc 38.3 Non-text elements, placeholder text
#AF56EE text on white 3.89:1 AA large text Lc 65.8 Content text, not long reading
#AF56EE text on black 5.38:1 AA Lc -35.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FB

    oklch(93.7% 0.032 308.1)

  3. Step 200

    200

    #E4CFF9

    oklch(88.5% 0.061 307.7)

  4. Step 300

    300

    #D4ADF7

    oklch(80.8% 0.11 308.1)

  5. Step 400

    400

    #BF7EF3

    oklch(70.6% 0.175 308.2)

  6. Step 500

    500 (this color)

    #AF56EE

    oklch(63% 0.224 308.2)

  7. Step 600

    600

    #9B32DD

    oklch(55.6% 0.243 308)

  8. Step 700

    700

    #8521C0

    oklch(49.2% 0.226 308.2)

  9. Step 800

    800

    #6C209B

    oklch(42.8% 0.187 308.3)

  10. Step 900

    900

    #57227B

    oklch(37.6% 0.146 308.1)

  11. Step 950

    950

    #331648

    oklch(27% 0.092 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF56EE 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)#007EF30.192
Deuteranopia (no green cones)#3A82EB0.175
Tritanopia (no blue cones)#A5759B0.156
Achromatopsia (no color)#8181810.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF56EE

    #AF56EE

    oklch(63% 0.224 308.2)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF56EE

    #AF56EE

    oklch(63% 0.224 308.2)

  • #7274FF

    #7274FF

    oklch(63% 0.202 278.3)

  • #D840B6

    #D840B6

    oklch(63% 0.223 338.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF56EE

    #AF56EE

    oklch(63% 0.224 308.2)

  • #9E8900

    #9E8900

    oklch(63% 0.13 98.3)

  • #00A366

    #00A366

    oklch(63% 0.147 158.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF56EE

    #AF56EE

    oklch(63% 0.224 308.2)

  • #BF7600

    #BF7600

    oklch(63% 0.138 67.7)

  • #009E96

    #009E96

    oklch(63% 0.109 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF56EE

    #AF56EE

    oklch(63% 0.224 308.2)

  • #EA4B00

    #EA4B00

    oklch(63.1% 0.206 38.2)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

  • #0099B7

    #0099B7

    oklch(63.1% 0.114 218.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF56EE.

Similar named colors

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

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