#AF7EED

Closest named color: Light Purple (#BF77F6). oklch(68.7% 0.164 302.7), rgb(175, 126, 237).

Aa

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

About this color

#AF7EED is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.164 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.033 away. Black text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.03:1
White text2.98:1

Values

HEX#AF7EED
RGBrgb(175, 126, 237)
HSLhsl(266, 76%, 71%)
OKLCHoklch(68.7% 0.164 302.7)

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 #AF7EED 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #AF7EED 7.03:1 AAA Lc 47.7 Large or bold text, headings
#AF7EED text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#AF7EED text on black 7.03:1 AAA Lc -45.5 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CDB1F8

    oklch(80.9% 0.102 302.2)

  5. Step 400

    400 (this color)

    #AF7EED

    oklch(68.7% 0.164 302.7)

  6. Step 500

    500

    #A460EF

    oklch(63.2% 0.209 302.8)

  7. Step 600

    600

    #903FDE

    oklch(55.6% 0.228 302.8)

  8. Step 700

    700

    #7A2FC0

    oklch(49% 0.211 302.6)

  9. Step 800

    800

    #63299C

    oklch(42.6% 0.176 302.4)

  10. Step 900

    900

    #51287C

    oklch(37.7% 0.137 302.7)

  11. Step 950

    950

    #2F1948

    oklch(27% 0.085 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EED 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)#5E94F10.114
Deuteranopia (no green cones)#6A95EA0.106
Tritanopia (no blue cones)#A492AA0.125
Achromatopsia (no color)#9595950.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EED

    #AF7EED

    oklch(68.7% 0.164 302.7)

  • #89AA12

    #89AA12

    oklch(68.9% 0.164 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EED

    #AF7EED

    oklch(68.7% 0.164 302.7)

  • #7A90FF

    #7A90FF

    oklch(68.7% 0.164 272.9)

  • #D470C6

    #D470C6

    oklch(68.8% 0.163 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EED

    #AF7EED

    oklch(68.7% 0.164 302.7)

  • #B99700

    #B99700

    oklch(68.8% 0.141 92.7)

  • #2BB667

    #2BB667

    oklch(68.6% 0.163 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EED

    #AF7EED

    oklch(68.7% 0.164 302.7)

  • #DD8100

    #DD8100

    oklch(68.8% 0.157 62.9)

  • #00B3A1

    #00B3A1

    oklch(68.8% 0.123 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EED

    #AF7EED

    oklch(68.7% 0.164 302.7)

  • #EE6E55

    #EE6E55

    oklch(68.7% 0.164 32.7)

  • #89AA12

    #89AA12

    oklch(68.9% 0.164 122.7)

  • #00ADC6

    #00ADC6

    oklch(68.7% 0.12 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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