#AC6BEE#AC6BEE

#AC6BEE is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.5% C 0.193 H 304.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC6BEE
RGBrgb(172, 107, 238)
HSLhsl(270, 79%, 68%)
HSVhsv(270, 55%, 93%)
CMYKcmyk(27.7%, 55%, 0%, 6.7%)
CIE-LABlab(57.52, 50.47, -56.53)
CIE-LCHlch(57.52, 75.78, 311.76°)
OKLaboklab(65.51% 0.1096 -0.1594)
OKLCHoklch(65.51% 0.193 304.5)
XYZxyz(37.7002, 25.4593, 83.8004)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6BEE #ADEE6B
analogous
#6B6BEE #AC6BEE #EE6BEE
triadic
#AC6BEE #EEAC6B #6BEEAC
tetradic
#AC6BEE #EE6B6B #ADEE6B #6BEEEE
square
#AC6BEE #EE6B6B #ADEE6B #6BEEEE
split-complementary
#AC6BEE #EEEE6B #6BEE6B
monochromatic
#6F17C8 #8D34E8 #AC6BEE #CBA2F4 #EAD9FB

Accessibility & contrast

On white

3.45
#AC6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AC6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6BEE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6BEE#FFFFFF#000000##000000
##AC6BEE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#A084A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac6bee;
/* rgb */ color: rgb(172, 107, 238);
/* oklch */ color: oklch(65.5% 0.193 304.5);
Tailwind
colors: {
  custom: {
    50: '#c898f4',
    500: '#ac6bee',
    950: '#000000',
  },
}
SCSS
$custom: #ac6bee;
$custom-light: #c898f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6bee",
  "rgb": {
    "r": 172,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 269.771,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65508,
    "c": 0.19339,
    "h": 304.5
  },
  "luminance": 0.25459
}

Semantic roles & 50–950 ramp

primary
#AC6BEE
secondary
#DBEFC6
accent
#DC0A74
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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