#AF7DED

Closest named color: Light Purple (#BF77F6). oklch(68.6% 0.165 302.9), rgb(175, 125, 237).

Aa

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

About this color

#AF7DED is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.165 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.032 away. Black text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.97:1
White text3.00:1

Values

HEX#AF7DED
RGBrgb(175, 125, 237)
HSLhsl(267, 76%, 71%)
OKLCHoklch(68.6% 0.165 302.9)

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 #AF7DED 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #AF7DED 6.97:1 AA Lc 47.5 Large or bold text, headings
#AF7DED text on white 3.00:1 AA large text Lc 56.6 Large or bold text, headings
#AF7DED text on black 6.97:1 AA Lc -45.2 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

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CEB1F8

    oklch(81% 0.103 302.9)

  5. Step 400

    400 (this color)

    #AF7DED

    oklch(68.6% 0.165 302.9)

  6. Step 500

    500

    #A45FF0

    oklch(63.1% 0.211 302.7)

  7. Step 600

    600

    #903EDE

    oklch(55.5% 0.229 302.9)

  8. Step 700

    700

    #7B2EC1

    oklch(49.1% 0.213 302.9)

  9. Step 800

    800

    #64299C

    oklch(42.8% 0.176 302.9)

  10. Step 900

    900

    #51287C

    oklch(37.7% 0.137 302.7)

  11. Step 950

    950

    #2F1849

    oklch(26.9% 0.088 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DED 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)#5C94F10.117
Deuteranopia (no green cones)#6994EA0.107
Tritanopia (no blue cones)#A491AA0.125
Achromatopsia (no color)#9595950.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DED

    #AF7DED

    oklch(68.6% 0.165 302.9)

  • #87A90C

    #87A90C

    oklch(68.5% 0.165 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DED

    #AF7DED

    oklch(68.6% 0.165 302.9)

  • #798FFF

    #798FFF

    oklch(68.5% 0.166 272.9)

  • #D46FC5

    #D46FC5

    oklch(68.6% 0.164 333)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DED

    #AF7DED

    oklch(68.6% 0.165 302.9)

  • #B89700

    #B89700

    oklch(68.7% 0.141 93.2)

  • #27B666

    #27B666

    oklch(68.5% 0.165 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DED

    #AF7DED

    oklch(68.6% 0.165 302.9)

  • #DC8000

    #DC8000

    oklch(68.5% 0.157 62.7)

  • #00B2A1

    #00B2A1

    oklch(68.6% 0.122 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DED

    #AF7DED

    oklch(68.6% 0.165 302.9)

  • #EE6D53

    #EE6D53

    oklch(68.6% 0.165 33)

  • #87A90C

    #87A90C

    oklch(68.5% 0.165 123)

  • #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 #AF7DED, closest first.

Similar named colors

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

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