#AC6FEC#AC6FEC

#AC6FEC is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.185 H 304.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AC6FEC
RGBrgb(172, 111, 236)
HSLhsl(269, 77%, 68%)
HSVhsv(269, 53%, 93%)
CMYKcmyk(27.1%, 53%, 0%, 7.5%)
CIE-LABlab(58.22, 47.88, -54.29)
CIE-LCHlch(58.22, 72.39, 311.41°)
OKLaboklab(65.99% 0.1044 -0.1528)
OKLCHoklch(65.99% 0.185 304.3)
XYZxyz(37.8347, 26.1958, 82.4037)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6FEC #AFEC6F
analogous
#6F70EC #AC6FEC #EA6FEC
triadic
#AC6FEC #ECAC6F #6FECAC
tetradic
#AC6FEC #EC6F70 #AFEC6F #6FECEA
square
#AC6FEC #EC6F70 #AFEC6F #6FECEA
split-complementary
#AC6FEC #ECEA6F #70EC6F
monochromatic
#6E1AC6 #8D39E5 #AC6FEC #CBA5F3 #EADBFA

Accessibility & contrast

On white

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

On black

6.24
#AC6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6FEC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6FEC#FFFFFF#000000##000000
##AC6FEC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#A186A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6fec;
/* rgb */ color: rgb(172, 111, 236);
/* oklch */ color: oklch(66.0% 0.185 304.3);
Tailwind
colors: {
  custom: {
    50: '#c89af3',
    500: '#ac6fec',
    950: '#000000',
  },
}
SCSS
$custom: #ac6fec;
$custom-light: #c89af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6fec",
  "rgb": {
    "r": 172,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 269.28,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.18509,
    "h": 304.3
  },
  "luminance": 0.26196
}

Semantic roles & 50–950 ramp

primary
#AC6FEC
secondary
#DCEFC8
accent
#D90D75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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