#AF79EB

Closest named color: Light Urple (#B36FF6). oklch(67.8% 0.169 304.1), rgb(175, 121, 235).

Aa

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

About this color

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

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

Values

HEX#AF79EB
RGBrgb(175, 121, 235)
HSLhsl(268, 74%, 70%)
OKLCHoklch(67.8% 0.169 304.1)

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 #AF79EB 3.10:1 AA large text Lc -63.2 Content text, not long reading
Black text on #AF79EB 6.75:1 AA Lc 46.2 Large or bold text, headings
#AF79EB text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#AF79EB text on black 6.75:1 AA Lc -43.9 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0F9

    oklch(88.4% 0.058 304)

  4. Step 300

    300

    #CFB0F8

    oklch(80.9% 0.105 303.9)

  5. Step 400

    400 (this color)

    #AF79EB

    oklch(67.8% 0.169 304.1)

  6. Step 500

    500

    #A75CF1

    oklch(63.1% 0.217 304)

  7. Step 600

    600

    #933ADF

    oklch(55.5% 0.235 304.1)

  8. Step 700

    700

    #7E2AC2

    oklch(49.2% 0.219 304.2)

  9. Step 800

    800

    #66269D

    oklch(42.8% 0.181 304)

  10. Step 900

    900

    #53267D

    oklch(37.8% 0.142 304.1)

  11. Step 950

    950

    #301849

    oklch(27% 0.089 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF79EB 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)#5791EF0.124
Deuteranopia (no green cones)#6692E80.113
Tritanopia (no blue cones)#A58DA70.126
Achromatopsia (no color)#9292920.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF79EB

    #AF79EB

    oklch(67.8% 0.169 304.1)

  • #82A800

    #82A800

    oklch(67.8% 0.169 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF79EB

    #AF79EB

    oklch(67.8% 0.169 304.1)

  • #798CFE

    #798CFE

    oklch(67.8% 0.168 273.9)

  • #D46AC2

    #D46AC2

    oklch(67.8% 0.17 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF79EB

    #AF79EB

    oklch(67.8% 0.169 304.1)

  • #B49500

    #B49500

    oklch(67.8% 0.139 94)

  • #08B565

    #08B565

    oklch(67.9% 0.17 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF79EB

    #AF79EB

    oklch(67.8% 0.169 304.1)

  • #D78000

    #D78000

    oklch(67.8% 0.153 64.5)

  • #00AFA0

    #00AFA0

    oklch(67.8% 0.12 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF79EB

    #AF79EB

    oklch(67.8% 0.169 304.1)

  • #ED694C

    #ED694C

    oklch(67.8% 0.17 33.9)

  • #82A800

    #82A800

    oklch(67.8% 0.169 124.2)

  • #00AAC4

    #00AAC4

    oklch(67.8% 0.119 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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