#AF7EFB

Closest named color: Light Purple (#BF77F6). oklch(69.5% 0.181 299.8), rgb(175, 126, 251).

Aa

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

About this color

#AF7EFB is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.181 and its hue 300°. 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.20:1.

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

Values

HEX#AF7EFB
RGBrgb(175, 126, 251)
HSLhsl(264, 94%, 74%)
OKLCHoklch(69.5% 0.181 299.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 #AF7EFB 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #AF7EFB 7.20:1 AAA Lc 48.7 Large or bold text, headings
#AF7EFB text on white 2.91:1 Fails Lc 55.3 Large or bold text, headings
#AF7EFB text on black 7.20:1 AAA Lc -46.5 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

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #DFD0FD

    oklch(88.4% 0.063 300.3)

  4. Step 300

    300

    #CBB0FF

    oklch(80.9% 0.113 299.6)

  5. Step 400

    400 (this color)

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  6. Step 500

    500

    #A15AFD

    oklch(63% 0.231 299.7)

  7. Step 600

    600

    #8E36EC

    oklch(55.6% 0.251 299.9)

  8. Step 700

    700

    #7925CE

    oklch(49.2% 0.234 299.8)

  9. Step 800

    800

    #6223A6

    oklch(42.7% 0.193 299.8)

  10. Step 900

    900

    #502484

    oklch(37.7% 0.152 300.1)

  11. Step 950

    950

    #2E174D

    oklch(26.9% 0.095 299.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EFB 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)#5397FF0.124
Deuteranopia (no green cones)#6096F80.114
Tritanopia (no blue cones)#A096B10.140
Achromatopsia (no color)#9797970.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EFB

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  • #91AA00

    #91AA00

    oklch(69.4% 0.164 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EFB

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  • #7795FF

    #7795FF

    oklch(69.5% 0.159 270)

  • #D96DD2

    #D96DD2

    oklch(69.5% 0.182 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EFB

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  • #BF9700

    #BF9700

    oklch(69.4% 0.142 89.7)

  • #25BA5B

    #25BA5B

    oklch(69.4% 0.18 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EFB

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  • #E48000

    #E48000

    oklch(69.5% 0.163 60.1)

  • #00B6A0

    #00B6A0

    oklch(69.6% 0.126 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EFB

    #AF7EFB

    oklch(69.5% 0.181 299.8)

  • #F96855

    #F96855

    oklch(69.5% 0.181 29.9)

  • #91AA00

    #91AA00

    oklch(69.4% 0.164 119.7)

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

Similar named colors

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

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