#AF7EF7

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.176 300.6), rgb(175, 126, 247).

Aa

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

About this color

#AF7EF7 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.176 and its hue 301°. 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.15:1.

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

Values

HEX#AF7EF7
RGBrgb(175, 126, 247)
HSLhsl(264, 88%, 73%)
OKLCHoklch(69.3% 0.176 300.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 #AF7EF7 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #AF7EF7 7.15:1 AAA Lc 48.5 Large or bold text, headings
#AF7EF7 text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#AF7EF7 text on black 7.15:1 AAA Lc -46.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FC

    oklch(93.5% 0.032 301.6)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CCB0FD

    oklch(80.9% 0.11 300.7)

  5. Step 400

    400 (this color)

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  6. Step 500

    500

    #A25CF9

    oklch(63.1% 0.225 300.6)

  7. Step 600

    600

    #8E39E8

    oklch(55.6% 0.244 300.5)

  8. Step 700

    700

    #7928CA

    oklch(49.1% 0.228 300.4)

  9. Step 800

    800

    #6225A3

    oklch(42.7% 0.188 300.4)

  10. Step 900

    900

    #502681

    oklch(37.7% 0.146 300.7)

  11. Step 950

    950

    #2F184C

    oklch(27.1% 0.093 300.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EF7 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)#5796FB0.121
Deuteranopia (no green cones)#6396F40.112
Tritanopia (no blue cones)#A194AF0.135
Achromatopsia (no color)#9797970.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EF7

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  • #8FAA00

    #8FAA00

    oklch(69.3% 0.165 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EF7

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  • #7794FF

    #7794FF

    oklch(69.3% 0.16 270.4)

  • #D76ECE

    #D76ECE

    oklch(69.2% 0.176 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EF7

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  • #BD9700

    #BD9700

    oklch(69.2% 0.141 90.7)

  • #27B95F

    #27B95F

    oklch(69.2% 0.175 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EF7

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  • #E28000

    #E28000

    oklch(69.3% 0.161 60.7)

  • #00B5A0

    #00B5A0

    oklch(69.3% 0.125 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EF7

    #AF7EF7

    oklch(69.3% 0.176 300.6)

  • #F66A55

    #F66A55

    oklch(69.4% 0.176 30.7)

  • #8FAA00

    #8FAA00

    oklch(69.3% 0.165 120.4)

  • #00B0C6

    #00B0C6

    oklch(69.4% 0.12 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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