#AF7EF6

Closest named color: Light Purple (#BF77F6). oklch(69.2% 0.175 300.8), rgb(175, 126, 246).

Aa

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

About this color

#AF7EF6 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.175 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.13:1.

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

Values

HEX#AF7EF6
RGBrgb(175, 126, 246)
HSLhsl(265, 87%, 73%)
OKLCHoklch(69.2% 0.175 300.8)

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 #AF7EF6 2.94:1 Fails Lc -61.0 Content text, not long reading
Black text on #AF7EF6 7.13:1 AAA Lc 48.4 Large or bold text, headings
#AF7EF6 text on white 2.94:1 Fails Lc 55.7 Large or bold text, headings
#AF7EF6 text on black 7.13:1 AAA Lc -46.1 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

    #CCB0FC

    oklch(80.8% 0.109 300.9)

  5. Step 400

    400 (this color)

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  6. Step 500

    500

    #A25CF8

    oklch(63% 0.224 300.8)

  7. Step 600

    600

    #8E3AE7

    oklch(55.6% 0.242 300.6)

  8. Step 700

    700

    #7929C9

    oklch(49.1% 0.226 300.6)

  9. Step 800

    800

    #6325A2

    oklch(42.7% 0.187 301.2)

  10. Step 900

    900

    #502681

    oklch(37.7% 0.146 300.7)

  11. Step 950

    950

    #2F184B

    oklch(27.1% 0.091 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EF6 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)#5796FA0.121
Deuteranopia (no green cones)#6496F30.111
Tritanopia (no blue cones)#A194AF0.134
Achromatopsia (no color)#9696960.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EF6

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  • #8EAA00

    #8EAA00

    oklch(69.2% 0.166 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EF6

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  • #7793FF

    #7793FF

    oklch(69.1% 0.162 270.7)

  • #D76ECD

    #D76ECD

    oklch(69.2% 0.175 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EF6

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  • #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.

  • #AF7EF6

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  • #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.

  • #AF7EF6

    #AF7EF6

    oklch(69.2% 0.175 300.8)

  • #F56A55

    #F56A55

    oklch(69.2% 0.175 30.7)

  • #8EAA00

    #8EAA00

    oklch(69.2% 0.166 120.7)

  • #00AFC6

    #00AFC6

    oklch(69.2% 0.12 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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