#AC6BEF#AC6BEF

#AC6BEF is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.6% C 0.195 H 304.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC6BEF
RGBrgb(172, 107, 239)
HSLhsl(270, 80%, 68%)
HSVhsv(270, 55%, 94%)
CMYKcmyk(28%, 55.2%, 0%, 6.3%)
CIE-LABlab(57.58, 50.71, -56.99)
CIE-LCHlch(57.58, 76.28, 311.66°)
OKLaboklab(65.57% 0.1096 -0.1607)
OKLCHoklch(65.57% 0.195 304.3)
XYZxyz(37.8475, 25.5182, 84.5762)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6BEF #AEEF6B
analogous
#6B6CEF #AC6BEF #EE6BEF
triadic
#AC6BEF #EFAC6B #6BEFAC
tetradic
#AC6BEF #EF6B6C #AEEF6B #6BEFEE
square
#AC6BEF #EF6B6C #AEEF6B #6BEFEE
split-complementary
#AC6BEF #EFEE6B #6CEF6B
monochromatic
#6E16CA #8D34E9 #AC6BEF #CBA2F5 #EAD9FB

Accessibility & contrast

On white

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

On black

6.10
#AC6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6BEF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6BEF#FFFFFF#000000##000000
##AC6BEF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#518AEC
Tritanopia (blue-blind)
#A084A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac6bef;
/* rgb */ color: rgb(172, 107, 239);
/* oklch */ color: oklch(65.6% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#c898f5',
    500: '#ac6bef',
    950: '#000000',
  },
}
SCSS
$custom: #ac6bef;
$custom-light: #c898f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6bef",
  "rgb": {
    "r": 172,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 269.545,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.19454,
    "h": 304.3
  },
  "luminance": 0.25518
}

Semantic roles & 50–950 ramp

primary
#AC6BEF
secondary
#DBEFC7
accent
#DD0974
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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