#AC6DEF#AC6DEF

#AC6DEF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.192 H 304.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AC6DEF
RGBrgb(172, 109, 239)
HSLhsl(269, 80%, 68%)
HSVhsv(269, 54%, 94%)
CMYKcmyk(28%, 54.4%, 0%, 6.3%)
CIE-LABlab(57.98, 49.65, -56.35)
CIE-LCHlch(57.98, 75.10, 311.39°)
OKLaboklab(65.86% 0.1071 -0.1588)
OKLCHoklch(65.86% 0.192 304)
XYZxyz(38.0585, 25.9400, 84.6465)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DEF #B0EF6D
analogous
#6D6FEF #AC6DEF #ED6DEF
triadic
#AC6DEF #EFAC6D #6DEFAC
tetradic
#AC6DEF #EF6D6F #B0EF6D #6DEFED
square
#AC6DEF #EF6D6F #B0EF6D #6DEFED
split-complementary
#AC6DEF #EFED6D #6FEF6D
monochromatic
#6E16CB #8D36E9 #AC6DEF #CBA4F5 #EBDBFB

Accessibility & contrast

On white

3.39
#AC6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AC6DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DEF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DEF#FFFFFF#000000##000000
##AC6DEF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#A086A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac6def;
/* rgb */ color: rgb(172, 109, 239);
/* oklch */ color: oklch(65.9% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#c899f5',
    500: '#ac6def',
    950: '#000000',
  },
}
SCSS
$custom: #ac6def;
$custom-light: #c899f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6def",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 269.077,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.19157,
    "h": 304
  },
  "luminance": 0.2594
}

Semantic roles & 50–950 ramp

primary
#AC6DEF
secondary
#DDF0C8
accent
#DD0976
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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