#AC6DEB#AC6DEB

#AC6DEB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.187 H 304.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AC6DEB
RGBrgb(172, 109, 235)
HSLhsl(270, 76%, 67%)
HSVhsv(270, 54%, 92%)
CMYKcmyk(26.8%, 53.6%, 0%, 7.8%)
CIE-LABlab(57.76, 48.72, -54.48)
CIE-LCHlch(57.76, 73.08, 311.81°)
OKLaboklab(65.63% 0.1069 -0.1534)
OKLCHoklch(65.63% 0.187 304.9)
XYZxyz(37.4741, 25.7063, 81.5688)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DEB #ACEB6D
analogous
#6D6DEB #AC6DEB #EB6DEB
triadic
#AC6DEB #EBAC6D #6DEBAC
tetradic
#AC6DEB #EB6D6D #ACEB6D #6DEBEB
square
#AC6DEB #EB6D6D #ACEB6D #6DEBEB
split-complementary
#AC6DEB #EBEB6D #6DEB6D
monochromatic
#6F1BC3 #8D37E4 #AC6DEB #CBA3F2 #E9D9FA

Accessibility & contrast

On white

3.42
#AC6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AC6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DEB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DEB#FFFFFF#000000##000000
##AC6DEB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#A184A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac6deb;
/* rgb */ color: rgb(172, 109, 235);
/* oklch */ color: oklch(65.6% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#c899f2',
    500: '#ac6deb',
    950: '#000000',
  },
}
SCSS
$custom: #ac6deb;
$custom-light: #c899f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6deb",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65628,
    "c": 0.18695,
    "h": 304.9
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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