#AF7DF3

Closest named color: Light Purple (#BF77F6). oklch(68.9% 0.173 301.6), rgb(175, 125, 243).

Aa

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

About this color

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

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

Values

HEX#AF7DF3
RGBrgb(175, 125, 243)
HSLhsl(265, 83%, 72%)
OKLCHoklch(68.9% 0.173 301.6)

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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FC

    oklch(93.5% 0.032 301.6)

  3. Step 200

    200

    #E0D1FB

    oklch(88.6% 0.059 301.5)

  4. Step 300

    300

    #CDB0FB

    oklch(80.9% 0.108 301.8)

  5. Step 400

    400 (this color)

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  6. Step 500

    500

    #A35DF6

    oklch(63.1% 0.22 301.4)

  7. Step 600

    600

    #903AE5

    oklch(55.6% 0.241 301.7)

  8. Step 700

    700

    #7A2AC7

    oklch(49.1% 0.223 301.4)

  9. Step 800

    800

    #6326A1

    oklch(42.7% 0.185 301.3)

  10. Step 900

    900

    #512680

    oklch(37.8% 0.145 301.7)

  11. Step 950

    950

    #2F184B

    oklch(27.1% 0.091 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DF3 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)#5895F70.121
Deuteranopia (no green cones)#6595F00.111
Tritanopia (no blue cones)#A292AD0.131
Achromatopsia (no color)#9595950.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DF3

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  • #8BAA00

    #8BAA00

    oklch(69% 0.167 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DF3

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  • #7892FF

    #7892FF

    oklch(69% 0.163 271.5)

  • #D66ECA

    #D66ECA

    oklch(68.9% 0.171 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DF3

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  • #BB9700

    #BB9700

    oklch(69% 0.141 91.7)

  • #23B861

    #23B861

    oklch(68.9% 0.173 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DF3

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  • #DF8000

    #DF8000

    oklch(68.9% 0.159 61.7)

  • #00B3A0

    #00B3A0

    oklch(68.8% 0.123 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DF3

    #AF7DF3

    oklch(68.9% 0.173 301.6)

  • #F36A53

    #F36A53

    oklch(68.9% 0.173 31.5)

  • #8BAA00

    #8BAA00

    oklch(69% 0.167 121.8)

  • #00AEC5

    #00AEC5

    oklch(68.9% 0.12 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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