#AF7EFD

Closest named color: Light Purple (#BF77F6). oklch(69.6% 0.183 299.4), rgb(175, 126, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.183)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.22:1
White text2.90:1

Values

HEX#AF7EFD
RGBrgb(175, 126, 253)
HSLhsl(263, 97%, 74%)
OKLCHoklch(69.6% 0.183 299.4)

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 #AF7EFD 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #AF7EFD 7.22:1 AAA Lc 48.9 Large or bold text, headings
#AF7EFD text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#AF7EFD text on black 7.22:1 AAA Lc -46.7 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #DFD0FE

    oklch(88.4% 0.064 300)

  4. Step 300

    300

    #CBB0FF

    oklch(80.9% 0.113 299.6)

  5. Step 400

    400 (this color)

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  6. Step 500

    500

    #A15AFF

    oklch(63.1% 0.234 299.4)

  7. Step 600

    600

    #8E34EE

    oklch(55.6% 0.255 299.7)

  8. Step 700

    700

    #7923D0

    oklch(49.2% 0.237 299.5)

  9. Step 800

    800

    #6221A8

    oklch(42.7% 0.197 299.5)

  10. Step 900

    900

    #4F2485

    oklch(37.7% 0.153 299.1)

  11. Step 950

    950

    #2E174E

    oklch(27% 0.097 299)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EFD 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)#5297FF0.125
Deuteranopia (no green cones)#5E96FA0.116
Tritanopia (no blue cones)#9F96B20.142
Achromatopsia (no color)#9797970.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EFD

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  • #92AA00

    #92AA00

    oklch(69.5% 0.164 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EFD

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  • #7696FF

    #7696FF

    oklch(69.7% 0.158 269.2)

  • #D96DD3

    #D96DD3

    oklch(69.5% 0.183 329.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EFD

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  • #C09800

    #C09800

    oklch(69.7% 0.142 89.8)

  • #24BB59

    #24BB59

    oklch(69.6% 0.184 149.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EFD

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  • #E57F00

    #E57F00

    oklch(69.5% 0.164 59.3)

  • #00B69F

    #00B69F

    oklch(69.5% 0.127 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EFD

    #AF7EFD

    oklch(69.6% 0.183 299.4)

  • #FA6755

    #FA6755

    oklch(69.6% 0.184 29.5)

  • #92AA00

    #92AA00

    oklch(69.5% 0.164 119.3)

  • #00B1C6

    #00B1C6

    oklch(69.6% 0.12 209.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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