#AC7AFE

Closest named color: Light Urple (#B36FF6). oklch(68.8% 0.19 298.8), rgb(172, 122, 254).

Aa

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

About this color

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

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

Values

HEX#AC7AFE
RGBrgb(172, 122, 254)
HSLhsl(263, 99%, 74%)
OKLCHoklch(68.8% 0.19 298.8)

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 #AC7AFE 3.01:1 AA large text Lc -61.9 Content text, not long reading
Black text on #AC7AFE 6.96:1 AA Lc 47.5 Large or bold text, headings
#AC7AFE text on white 3.01:1 AA large text Lc 56.6 Large or bold text, headings
#AC7AFE text on black 6.96:1 AA Lc -45.2 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

    #ECE5FE

    oklch(93.5% 0.034 298.5)

  3. Step 200

    200

    #DED0FF

    oklch(88.4% 0.066 298.7)

  4. Step 300

    300

    #CAB1FF

    oklch(81% 0.111 298.6)

  5. Step 400

    400 (this color)

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  6. Step 500

    500

    #A05BFF

    oklch(63.1% 0.232 298.9)

  7. Step 600

    600

    #8D2FF4

    oklch(55.6% 0.264 298.6)

  8. Step 700

    700

    #791CD4

    oklch(49.1% 0.246 299)

  9. Step 800

    800

    #621EAB

    oklch(42.7% 0.202 299)

  10. Step 900

    900

    #4F2288

    oklch(37.7% 0.159 298.5)

  11. Step 950

    950

    #2E164F

    oklch(26.9% 0.1 298.9)

Export this scale for Tailwind in the Tailwind colors tool

#AC7AFE 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)#4895FF0.131
Deuteranopia (no green cones)#5693FB0.121
Tritanopia (no blue cones)#9B94B10.147
Achromatopsia (no color)#9595950.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC7AFE

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  • #91A700

    #91A700

    oklch(68.7% 0.161 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC7AFE

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  • #7193FF

    #7193FF

    oklch(68.8% 0.163 268.7)

  • #D868D4

    #D868D4

    oklch(68.8% 0.191 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #AC7AFE

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  • #BE9500

    #BE9500

    oklch(68.9% 0.141 88.9)

  • #15B952

    #15B952

    oklch(68.8% 0.19 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC7AFE

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  • #E27D00

    #E27D00

    oklch(68.8% 0.163 59.1)

  • #00B39C

    #00B39C

    oklch(68.7% 0.125 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC7AFE

    #AC7AFE

    oklch(68.8% 0.19 298.8)

  • #FA6151

    #FA6151

    oklch(68.7% 0.19 28.9)

  • #91A700

    #91A700

    oklch(68.7% 0.161 118.7)

  • #00AEC2

    #00AEC2

    oklch(68.7% 0.119 209.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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