#AF79F6

Closest named color: Light Urple (#B36FF6). oklch(68.4% 0.182 301.7), rgb(175, 121, 246).

Aa

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

About this color

#AF79F6 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.182 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.022 away. Black text reads best on it, at 6.88:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.182)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.88:1
White text3.04:1

Values

HEX#AF79F6
RGBrgb(175, 121, 246)
HSLhsl(266, 87%, 72%)
OKLCHoklch(68.4% 0.182 301.7)

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 #AF79F6 3.04:1 AA large text Lc -62.4 Content text, not long reading
Black text on #AF79F6 6.88:1 AA Lc 47.0 Large or bold text, headings
#AF79F6 text on white 3.04:1 AA large text Lc 57.0 Large or bold text, headings
#AF79F6 text on black 6.88:1 AA Lc -44.7 Non-text elements, placeholder text

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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CEAFFE

    oklch(80.9% 0.114 301.9)

  5. Step 400

    400 (this color)

    #AF79F6

    oklch(68.4% 0.182 301.7)

  6. Step 500

    500

    #A558FC

    oklch(63.1% 0.233 301.5)

  7. Step 600

    600

    #9232EB

    oklch(55.6% 0.254 301.8)

  8. Step 700

    700

    #7C21CC

    oklch(49.1% 0.235 301.7)

  9. Step 800

    800

    #6520A5

    oklch(42.7% 0.195 301.8)

  10. Step 900

    900

    #522383

    oklch(37.7% 0.152 301.8)

  11. Step 950

    950

    #30164D

    oklch(27% 0.097 302)

Export this scale for Tailwind in the Tailwind colors tool

#AF79F6 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)#4F93FA0.131
Deuteranopia (no green cones)#5E93F30.120
Tritanopia (no blue cones)#A190AC0.139
Achromatopsia (no color)#9494940.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF79F6

    #AF79F6

    oklch(68.4% 0.182 301.7)

  • #8AA800

    #8AA800

    oklch(68.4% 0.165 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF79F6

    #AF79F6

    oklch(68.4% 0.182 301.7)

  • #7690FF

    #7690FF

    oklch(68.5% 0.166 271.5)

  • #D869CB

    #D869CB

    oklch(68.5% 0.182 332)

Open the analogous palette in the generator

Split complementary

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

  • #AF79F6

    #AF79F6

    oklch(68.4% 0.182 301.7)

  • #B99500

    #B99500

    oklch(68.3% 0.14 91.5)

  • #00B85D

    #00B85D

    oklch(68.5% 0.181 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF79F6

    #AF79F6

    oklch(68.4% 0.182 301.7)

  • #DD7F00

    #DD7F00

    oklch(68.4% 0.158 61.8)

  • #00B29F

    #00B29F

    oklch(68.5% 0.123 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF79F6

    #AF79F6

    oklch(68.4% 0.182 301.7)

  • #F5654C

    #F5654C

    oklch(68.4% 0.182 31.9)

  • #8AA800

    #8AA800

    oklch(68.4% 0.165 121.6)

  • #00ACC4

    #00ACC4

    oklch(68.3% 0.119 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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