#AF79EC

Closest named color: Light Urple (#B36FF6). oklch(67.9% 0.17 303.9), rgb(175, 121, 236).

Aa

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

About this color

#AF79EC is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.170 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.029 away. Black text reads best on it, at 6.76:1.

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

Values

HEX#AF79EC
RGBrgb(175, 121, 236)
HSLhsl(268, 75%, 70%)
OKLCHoklch(67.9% 0.17 303.9)

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 #AF79EC 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #AF79EC 6.76:1 AA Lc 46.3 Large or bold text, headings
#AF79EC text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#AF79EC text on black 6.76:1 AA Lc -44.0 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

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CFB0F9

    oklch(81% 0.106 303.6)

  5. Step 400

    400 (this color)

    #AF79EC

    oklch(67.9% 0.17 303.9)

  6. Step 500

    500

    #A75CF2

    oklch(63.1% 0.218 303.8)

  7. Step 600

    600

    #933AE0

    oklch(55.6% 0.236 303.9)

  8. Step 700

    700

    #7D29C3

    oklch(49.1% 0.221 303.7)

  9. Step 800

    800

    #66259D

    oklch(42.7% 0.182 304.1)

  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

#AF79EC 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)#5791F00.124
Deuteranopia (no green cones)#6592E90.114
Tritanopia (no blue cones)#A48DA80.126
Achromatopsia (no color)#9292920.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF79EC

    #AF79EC

    oklch(67.9% 0.17 303.9)

  • #83A800

    #83A800

    oklch(67.9% 0.168 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF79EC

    #AF79EC

    oklch(67.9% 0.17 303.9)

  • #798CFF

    #798CFF

    oklch(67.9% 0.17 274)

  • #D46AC3

    #D46AC3

    oklch(67.8% 0.171 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF79EC

    #AF79EC

    oklch(67.9% 0.17 303.9)

  • #B49500

    #B49500

    oklch(67.8% 0.139 94)

  • #06B564

    #06B564

    oklch(67.9% 0.171 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF79EC

    #AF79EC

    oklch(67.9% 0.17 303.9)

  • #D88000

    #D88000

    oklch(68% 0.154 64.1)

  • #00AFA0

    #00AFA0

    oklch(67.8% 0.12 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF79EC

    #AF79EC

    oklch(67.9% 0.17 303.9)

  • #EE694C

    #EE694C

    oklch(67.9% 0.171 33.8)

  • #83A800

    #83A800

    oklch(67.9% 0.168 123.9)

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

Similar named colors

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

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