#AC46EC#AC46EC

#AC46EC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.7% C 0.241 H 309.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC46EC
RGBrgb(172, 70, 236)
HSLhsl(277, 81%, 60%)
HSVhsv(277, 70%, 93%)
CMYKcmyk(27.1%, 70.3%, 0%, 7.5%)
CIE-LABlab(50.93, 67.63, -66.00)
CIE-LCHlch(50.93, 94.50, 315.70°)
OKLaboklab(60.7% 0.1514 -0.187)
OKLCHoklch(60.7% 0.241 309)
XYZxyz(34.3407, 19.2077, 81.2390)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46EC #86EC46
analogous
#5946EC #AC46EC #EC46D9
triadic
#AC46EC #ECAC46 #46ECAC
tetradic
#AC46EC #EC5946 #86EC46 #46D9EC
square
#AC46EC #EC5946 #86EC46 #46D9EC
split-complementary
#AC46EC #D9EC46 #46EC59
monochromatic
#6D11A7 #9117DE #AC46EC #C57DF2 #DEB5F7

Accessibility & contrast

On white

4.34
#AC46EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AC46EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46EC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46EC#FFFFFF#000000##000000
##AC46EC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#1E7BE8
Tritanopia (blue-blind)
#A26B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac46ec;
/* rgb */ color: rgb(172, 70, 236);
/* oklch */ color: oklch(60.7% 0.241 309.0);
Tailwind
colors: {
  custom: {
    50: '#ca82f3',
    500: '#ac46ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac46ec;
$custom-light: #ca82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46ec",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 236
  },
  "hsl": {
    "h": 276.867,
    "s": 81.373,
    "l": 60
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.24063,
    "h": 309
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#AC46EC
secondary
#C0E7A7
accent
#F8307D
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC46EC

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

Preview Lab → · Contrast checker → · Palette generator →

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