#AC6FEB#AC6FEB

#AC6FEB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.184 H 304.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AC6FEB
RGBrgb(172, 111, 235)
HSLhsl(270, 76%, 68%)
HSVhsv(270, 53%, 92%)
CMYKcmyk(26.8%, 52.8%, 0%, 7.8%)
CIE-LABlab(58.17, 47.65, -53.82)
CIE-LCHlch(58.17, 71.88, 311.52°)
OKLaboklab(65.93% 0.1044 -0.1514)
OKLCHoklch(65.93% 0.184 304.6)
XYZxyz(37.6898, 26.1379, 81.6407)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6FEB #AEEB6F
analogous
#6F70EB #AC6FEB #EA6FEB
triadic
#AC6FEB #EBAC6F #6FEBAC
tetradic
#AC6FEB #EB6F70 #AEEB6F #6FEBEA
square
#AC6FEB #EB6F70 #AEEB6F #6FEBEA
split-complementary
#AC6FEB #EBEA6F #70EB6F
monochromatic
#6E1BC4 #8D39E4 #AC6FEB #CBA5F2 #EADAFA

Accessibility & contrast

On white

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

On black

6.23
#AC6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6FEB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6FEB#FFFFFF#000000##000000
##AC6FEB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#A186A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6feb;
/* rgb */ color: rgb(172, 111, 235);
/* oklch */ color: oklch(65.9% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#c89af2',
    500: '#ac6feb',
    950: '#000000',
  },
}
SCSS
$custom: #ac6feb;
$custom-light: #c89af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6feb",
  "rgb": {
    "r": 172,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 269.516,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65931,
    "c": 0.18392,
    "h": 304.6
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

primary
#AC6FEB
secondary
#DBEEC8
accent
#D80E74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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