#AF7AF4

Closest named color: Light Urple (#B36FF6). oklch(68.5% 0.179 302), rgb(175, 122, 244).

Aa

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

About this color

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

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

Values

HEX#AF7AF4
RGBrgb(175, 122, 244)
HSLhsl(266, 85%, 72%)
OKLCHoklch(68.5% 0.179 302)

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 #AF7AF4 3.03:1 AA large text Lc -62.3 Content text, not long reading
Black text on #AF7AF4 6.91:1 AA Lc 47.1 Large or bold text, headings
#AF7AF4 text on white 3.03:1 AA large text Lc 56.9 Large or bold text, headings
#AF7AF4 text on black 6.91:1 AA Lc -44.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E0D0FC

    oklch(88.5% 0.062 301.7)

  4. Step 300

    300

    #CEAFFD

    oklch(80.9% 0.112 302.2)

  5. Step 400

    400 (this color)

    #AF7AF4

    oklch(68.5% 0.179 302)

  6. Step 500

    500

    #A55AF9

    oklch(63.1% 0.228 301.9)

  7. Step 600

    600

    #9136E8

    oklch(55.6% 0.248 301.8)

  8. Step 700

    700

    #7C24CA

    oklch(49.1% 0.231 301.9)

  9. Step 800

    800

    #6522A3

    oklch(42.7% 0.191 302.2)

  10. Step 900

    900

    #522481

    oklch(37.7% 0.149 302.4)

  11. Step 950

    950

    #30174C

    oklch(27.1% 0.094 302.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF7AF4 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)#5293F80.127
Deuteranopia (no green cones)#6193F10.116
Tritanopia (no blue cones)#A291AC0.136
Achromatopsia (no color)#9494940.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7AF4

    #AF7AF4

    oklch(68.5% 0.179 302)

  • #89A800

    #89A800

    oklch(68.3% 0.166 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7AF4

    #AF7AF4

    oklch(68.5% 0.179 302)

  • #7790FF

    #7790FF

    oklch(68.5% 0.165 271.9)

  • #D76ACA

    #D76ACA

    oklch(68.5% 0.179 332)

Open the analogous palette in the generator

Split complementary

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

  • #AF7AF4

    #AF7AF4

    oklch(68.5% 0.179 302)

  • #B99600

    #B99600

    oklch(68.5% 0.14 92.1)

  • #0AB75E

    #0AB75E

    oklch(68.3% 0.178 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7AF4

    #AF7AF4

    oklch(68.5% 0.179 302)

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

  • #AF7AF4

    #AF7AF4

    oklch(68.5% 0.179 302)

  • #F4674E

    #F4674E

    oklch(68.6% 0.179 32)

  • #89A800

    #89A800

    oklch(68.3% 0.166 121.9)

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

Similar named colors

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

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