#AC6CEC#AC6CEC

#AC6CEC is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.190 H 304.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC6CEC
RGBrgb(172, 108, 236)
HSLhsl(270, 77%, 67%)
HSVhsv(270, 54%, 93%)
CMYKcmyk(27.1%, 54.2%, 0%, 7.5%)
CIE-LABlab(57.61, 49.48, -55.27)
CIE-LCHlch(57.61, 74.18, 311.84°)
OKLaboklab(65.54% 0.1082 -0.1557)
OKLCHoklch(65.54% 0.19 304.8)
XYZxyz(37.5129, 25.5521, 82.2964)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6CEC #ACEC6C
analogous
#6C6CEC #AC6CEC #EC6CEC
triadic
#AC6CEC #ECAC6C #6CECAC
tetradic
#AC6CEC #EC6C6C #ACEC6C #6CECEC
square
#AC6CEC #EC6C6C #ACEC6C #6CECEC
split-complementary
#AC6CEC #ECEC6C #6CEC6C
monochromatic
#6F19C4 #8D36E5 #AC6CEC #CBA2F3 #E9D8FA

Accessibility & contrast

On white

3.44
#AC6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AC6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6CEC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6CEC#FFFFFF#000000##000000
##AC6CEC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F0
Deuteranopia (green-blind)
#548BE9
Tritanopia (blue-blind)
#A184A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac6cec;
/* rgb */ color: rgb(172, 108, 236);
/* oklch */ color: oklch(65.5% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#c898f3',
    500: '#ac6cec',
    950: '#000000',
  },
}
SCSS
$custom: #ac6cec;
$custom-light: #c898f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6cec",
  "rgb": {
    "r": 172,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65537,
    "c": 0.1896,
    "h": 304.8
  },
  "luminance": 0.25552
}

Semantic roles & 50–950 ramp

primary
#AC6CEC
secondary
#DAEEC6
accent
#D90C73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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