#AC6AFD#AC6AFD

#AC6AFD is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.3% C 0.212 H 301.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AC6AFD
RGBrgb(172, 106, 253)
HSLhsl(267, 97%, 70%)
HSVhsv(267, 58%, 99%)
CMYKcmyk(32%, 58.1%, 0%, 0.8%)
CIE-LABlab(58.20, 54.54, -63.76)
CIE-LCHlch(58.20, 83.90, 310.54°)
OKLaboklab(66.29% 0.1109 -0.1806)
OKLCHoklch(66.29% 0.212 301.6)
XYZxyz(39.8928, 26.1704, 95.8592)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AFD #BBFD6A
analogous
#6A71FD #AC6AFD #F66AFD
triadic
#AC6AFD #FDAC6A #6AFDAC
tetradic
#AC6AFD #FD6A71 #BBFD6A #6AFDF6
square
#AC6AFD #FD6A71 #BBFD6A #6AFDF6
split-complementary
#AC6AFD #FDF66A #71FD6A
monochromatic
#6B03E9 #8A2EFC #AC6AFD #CEA6FE #EEE1FF

Accessibility & contrast

On white

3.37
#AC6AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AC6AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AFD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AFD#FFFFFF#000000##000000
##AC6AFD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8BFF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#9C88AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6afd;
/* rgb */ color: rgb(172, 106, 253);
/* oklch */ color: oklch(66.3% 0.212 301.6);
Tailwind
colors: {
  custom: {
    50: '#c997ff',
    500: '#ac6afd',
    950: '#000000',
  },
}
SCSS
$custom: #ac6afd;
$custom-light: #c997ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6afd",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 266.939,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.21192,
    "h": 301.6
  },
  "luminance": 0.26171
}

Semantic roles & 50–950 ramp

primary
#AC6AFD
secondary
#E3F6CD
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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