#AF7DE2

Closest named color: Light Purple (#BF77F6). oklch(68% 0.152 305.6), rgb(175, 125, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.85:1
White text3.06:1

Values

HEX#AF7DE2
RGBrgb(175, 125, 226)
HSLhsl(270, 64%, 69%)
OKLCHoklch(68% 0.152 305.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 #AF7DE2 3.06:1 AA large text Lc -62.7 Content text, not long reading
Black text on #AF7DE2 6.85:1 AA Lc 46.7 Large or bold text, headings
#AF7DE2 text on white 3.06:1 AA large text Lc 57.3 Large or bold text, headings
#AF7DE2 text on black 6.85:1 AA Lc -44.4 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 400.

  1. Step 50

    50

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #CFB1F2

    oklch(80.9% 0.095 305.4)

  5. Step 400

    400 (this color)

    #AF7DE2

    oklch(68% 0.152 305.6)

  6. Step 500

    500

    #A662E5

    oklch(63% 0.195 305.5)

  7. Step 600

    600

    #9244D3

    oklch(55.6% 0.211 305.5)

  8. Step 700

    700

    #7C34B6

    oklch(49% 0.196 305.6)

  9. Step 800

    800

    #652D94

    oklch(42.7% 0.163 305.4)

  10. Step 900

    900

    #522A76

    oklch(37.7% 0.127 305.4)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DE2 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)#6392E60.111
Deuteranopia (no green cones)#7094DF0.101
Tritanopia (no blue cones)#A78EA50.113
Achromatopsia (no color)#9393930.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #82A82F

    #82A82F

    oklch(68% 0.152 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #7F8EF4

    #7F8EF4

    oklch(68% 0.151 275.3)

  • #D070BC

    #D070BC

    oklch(67.8% 0.152 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #B39600

    #B39600

    oklch(67.9% 0.14 95.1)

  • #2CB36E

    #2CB36E

    oklch(68% 0.152 155.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #D68100

    #D68100

    oklch(67.9% 0.152 65.4)

  • #00B0A3

    #00B0A3

    oklch(68.1% 0.12 185.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #E67153

    #E67153

    oklch(68% 0.152 35.5)

  • #82A82F

    #82A82F

    oklch(68% 0.152 125.6)

  • #00AAC7

    #00AAC7

    oklch(68% 0.12 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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