#AC6AEB#AC6AEB

#AC6AEB is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.191 H 305.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC6AEB
RGBrgb(172, 106, 235)
HSLhsl(271, 76%, 67%)
HSVhsv(271, 55%, 92%)
CMYKcmyk(26.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(57.15, 50.30, -55.44)
CIE-LCHlch(57.15, 74.86, 312.22°)
OKLaboklab(65.18% 0.1107 -0.1562)
OKLCHoklch(65.18% 0.191 305.3)
XYZxyz(37.1595, 25.0771, 81.4639)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AEB #A9EB6A
analogous
#6C6AEB #AC6AEB #EB6AE9
triadic
#AC6AEB #EBAC6A #6AEBAC
tetradic
#AC6AEB #EB6C6A #A9EB6A #6AE9EB
square
#AC6AEB #EB6C6A #A9EB6A #6AE9EB
split-complementary
#AC6AEB #E9EB6A #6AEB6C
monochromatic
#6F1AC1 #8E34E4 #AC6AEB #CAA0F2 #E8D6F9

Accessibility & contrast

On white

3.49
#AC6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AC6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AEB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AEB#FFFFFF#000000##000000
##AC6AEB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#5389E8
Tritanopia (blue-blind)
#A182A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ac6aeb;
/* rgb */ color: rgb(172, 106, 235);
/* oklch */ color: oklch(65.2% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#c897f2',
    500: '#ac6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ac6aeb;
$custom-light: #c897f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6aeb",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 270.698,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.19145,
    "h": 305.3
  },
  "luminance": 0.25077
}

Semantic roles & 50–950 ramp

primary
#AC6AEB
secondary
#D8EDC4
accent
#D90D70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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