#AF7AEE

Closest named color: Light Urple (#B36FF6). oklch(68.1% 0.171 303.3), rgb(175, 122, 238).

Aa

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

About this color

#AF7AEE is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.171 and its hue 303°. 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.84:1.

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

Values

HEX#AF7AEE
RGBrgb(175, 122, 238)
HSLhsl(267, 77%, 71%)
OKLCHoklch(68.1% 0.171 303.3)

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 #AF7AEE 3.06:1 AA large text Lc -62.7 Content text, not long reading
Black text on #AF7AEE 6.84:1 AA Lc 46.7 Large or bold text, headings
#AF7AEE text on white 3.06:1 AA large text Lc 57.3 Large or bold text, headings
#AF7AEE text on black 6.84:1 AA Lc -44.4 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

    #CFB0FA

    oklch(81% 0.107 303.3)

  5. Step 400

    400 (this color)

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  6. Step 500

    500

    #A65CF3

    oklch(63.1% 0.219 303.2)

  7. Step 600

    600

    #923AE2

    oklch(55.6% 0.238 303.1)

  8. Step 700

    700

    #7D29C4

    oklch(49.1% 0.222 303.4)

  9. Step 800

    800

    #65259E

    oklch(42.6% 0.183 303.3)

  10. Step 900

    900

    #52267E

    oklch(37.7% 0.142 303.1)

  11. Step 950

    950

    #30184A

    oklch(27.1% 0.09 303)

Export this scale for Tailwind in the Tailwind colors tool

#AF7AEE 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)#5792F20.123
Deuteranopia (no green cones)#6593EB0.113
Tritanopia (no blue cones)#A48FA90.129
Achromatopsia (no color)#9393930.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7AEE

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  • #85A800

    #85A800

    oklch(68.1% 0.167 123.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7AEE

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  • #788DFF

    #788DFF

    oklch(68% 0.169 273.3)

  • #D56BC5

    #D56BC5

    oklch(68.1% 0.171 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF7AEE

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  • #B69500

    #B69500

    oklch(68% 0.139 93)

  • #11B663

    #11B663

    oklch(68.2% 0.172 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7AEE

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  • #DA8000

    #DA8000

    oklch(68.2% 0.155 63.4)

  • #00B0A0

    #00B0A0

    oklch(68% 0.121 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7AEE

    #AF7AEE

    oklch(68.1% 0.171 303.3)

  • #EF694E

    #EF694E

    oklch(68.1% 0.171 33.1)

  • #85A800

    #85A800

    oklch(68.1% 0.167 123.3)

  • #00ABC5

    #00ABC5

    oklch(68.1% 0.12 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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