#AF79FB

Closest named color: Light Urple (#B36FF6). oklch(68.7% 0.188 300.7), rgb(175, 121, 251).

Aa

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

About this color

#AF79FB is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.188 and its hue 301°. 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.95:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.188)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.95:1
White text3.02:1

Values

HEX#AF79FB
RGBrgb(175, 121, 251)
HSLhsl(265, 94%, 73%)
OKLCHoklch(68.7% 0.188 300.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 #AF79FB 3.02:1 AA large text Lc -62.0 Content text, not long reading
Black text on #AF79FB 6.95:1 AA Lc 47.4 Large or bold text, headings
#AF79FB text on white 3.02:1 AA large text Lc 56.7 Large or bold text, headings
#AF79FB text on black 6.95:1 AA Lc -45.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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FE

    oklch(93.6% 0.035 300.3)

  3. Step 200

    200

    #E0D0FE

    oklch(88.5% 0.065 301)

  4. Step 300

    300

    #CDAFFF

    oklch(80.9% 0.115 301.1)

  5. Step 400

    400 (this color)

    #AF79FB

    oklch(68.7% 0.188 300.7)

  6. Step 500

    500

    #A457FF

    oklch(63.1% 0.238 300.8)

  7. Step 600

    600

    #912EF0

    oklch(55.6% 0.262 300.8)

  8. Step 700

    700

    #7C1CD1

    oklch(49.2% 0.243 300.8)

  9. Step 800

    800

    #641DA9

    oklch(42.7% 0.202 300.5)

  10. Step 900

    900

    #512186

    oklch(37.6% 0.158 300.5)

  11. Step 950

    950

    #2F164E

    oklch(27% 0.099 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF79FB 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)#4A94FF0.134
Deuteranopia (no green cones)#5A94F80.123
Tritanopia (no blue cones)#A092AF0.144
Achromatopsia (no color)#9494940.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF79FB

    #AF79FB

    oklch(68.7% 0.188 300.7)

  • #8DA800

    #8DA800

    oklch(68.6% 0.164 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF79FB

    #AF79FB

    oklch(68.7% 0.188 300.7)

  • #7591FF

    #7591FF

    oklch(68.6% 0.165 270.8)

  • #D968D0

    #D968D0

    oklch(68.7% 0.188 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF79FB

    #AF79FB

    oklch(68.7% 0.188 300.7)

  • #BB9600

    #BB9600

    oklch(68.8% 0.141 91.1)

  • #00B959

    #00B959

    oklch(68.7% 0.186 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF79FB

    #AF79FB

    oklch(68.7% 0.188 300.7)

  • #E07F00

    #E07F00

    oklch(68.8% 0.16 60.8)

  • #00B39E

    #00B39E

    oklch(68.7% 0.124 180.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF79FB

    #AF79FB

    oklch(68.7% 0.188 300.7)

  • #F9624D

    #F9624D

    oklch(68.7% 0.189 30.5)

  • #8DA800

    #8DA800

    oklch(68.6% 0.164 120.5)

  • #00AEC4

    #00AEC4

    oklch(68.8% 0.119 210.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF79FB.

Similar named colors

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

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