#AF7EFC

Closest named color: Light Purple (#BF77F6). oklch(69.6% 0.182 299.6), rgb(175, 126, 252).

Aa

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

About this color

#AF7EFC is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.182 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.030 away. Black text reads best on it, at 7.21:1.

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

Values

HEX#AF7EFC
RGBrgb(175, 126, 252)
HSLhsl(263, 95%, 74%)
OKLCHoklch(69.6% 0.182 299.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 #AF7EFC 2.91:1 Fails Lc -60.5 Content text, not long reading
Black text on #AF7EFC 7.21:1 AAA Lc 48.8 Large or bold text, headings
#AF7EFC text on white 2.91:1 Fails Lc 55.2 Large or bold text, headings
#AF7EFC text on black 7.21:1 AAA Lc -46.6 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)

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  6. Step 500

    500

    #A15AFE

    oklch(63% 0.232 299.5)

  7. Step 600

    600

    #8E35ED

    oklch(55.6% 0.253 299.8)

  8. Step 700

    700

    #7924CF

    oklch(49.2% 0.236 299.6)

  9. Step 800

    800

    #6222A7

    oklch(42.7% 0.195 299.6)

  10. Step 900

    900

    #4F2484

    oklch(37.6% 0.152 299.4)

  11. Step 950

    950

    #2E174D

    oklch(26.9% 0.095 299.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EFC 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)#5F96F90.115
Tritanopia (no blue cones)#9F96B10.142
Achromatopsia (no color)#9797970.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EFC

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  • #92AA00

    #92AA00

    oklch(69.5% 0.164 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EFC

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  • #7695FF

    #7695FF

    oklch(69.5% 0.159 269.6)

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

  • #AF7EFC

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  • #C09700

    #C09700

    oklch(69.5% 0.142 89.2)

  • #25BB5A

    #25BB5A

    oklch(69.6% 0.183 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EFC

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  • #E58000

    #E58000

    oklch(69.7% 0.164 59.8)

  • #00B69F

    #00B69F

    oklch(69.5% 0.127 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EFC

    #AF7EFC

    oklch(69.6% 0.182 299.6)

  • #F96855

    #F96855

    oklch(69.5% 0.181 29.9)

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

Similar named colors

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

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