#AC7AF2#AC7AF2

#AC7AF2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.175 H 301.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AC7AF2
RGBrgb(172, 122, 242)
HSLhsl(265, 82%, 71%)
HSVhsv(265, 50%, 95%)
CMYKcmyk(28.9%, 49.6%, 0%, 5.1%)
CIE-LABlab(60.87, 43.35, -53.41)
CIE-LCHlch(60.87, 68.78, 309.06°)
OKLaboklab(68.06% 0.0907 -0.1503)
OKLCHoklch(68.06% 0.175 301.1)
XYZxyz(39.9961, 29.1004, 87.4970)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AF2 #C0F27A
analogous
#7A84F2 #AC7AF2 #E87AF2
triadic
#AC7AF2 #F2AC7A #7AF2AC
tetradic
#AC7AF2 #F27A84 #C0F27A #7AF2E8
square
#AC7AF2 #F27A84 #C0F27A #7AF2E8
split-complementary
#AC7AF2 #F2E87A #84F27A
monochromatic
#6816DC #8942ED #AC7AF2 #CFB2F7 #EEE3FC

Accessibility & contrast

On white

3.08
#AC7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AC7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AF2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AF2#FFFFFF#000000##000000
##AC7AF21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9E90AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7af2;
/* rgb */ color: rgb(172, 122, 242);
/* oklch */ color: oklch(68.1% 0.175 301.1);
Tailwind
colors: {
  custom: {
    50: '#c8a1f7',
    500: '#ac7af2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7af2;
$custom-light: #c8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7af2",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 265,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.17549,
    "h": 301.1
  },
  "luminance": 0.29101
}

Semantic roles & 50–950 ramp

primary
#AC7AF2
secondary
#E6F3D4
accent
#DF0785
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7AF2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AC7AF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva