#AC46E5#AC46E5

#AC46E5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.234 H 310.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC46E5
RGBrgb(172, 70, 229)
HSLhsl(278, 75%, 59%)
HSVhsv(278, 69%, 90%)
CMYKcmyk(24.9%, 69.4%, 0%, 10.2%)
CIE-LABlab(50.46, 66.16, -62.81)
CIE-LCHlch(50.46, 91.23, 316.49°)
OKLaboklab(60.22% 0.1523 -0.1776)
OKLCHoklch(60.22% 0.234 310.6)
XYZxyz(33.3436, 18.8089, 75.9875)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46E5 #7FE546
analogous
#5C46E5 #AC46E5 #E546CE
triadic
#AC46E5 #E5AC46 #46E5AC
tetradic
#AC46E5 #E55C46 #7FE546 #46CEE5
square
#AC46E5 #E55C46 #7FE546 #46CEE5
split-complementary
#AC46E5 #CEE546 #46E55C
monochromatic
#6B169B #901DD0 #AC46E5 #C47CED #DCB1F4

Accessibility & contrast

On white

4.41
#AC46E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AC46E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46E5#FFFFFF#000000##000000
##AC46E51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#A46991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac46e5;
/* rgb */ color: rgb(172, 70, 229);
/* oklch */ color: oklch(60.2% 0.234 310.6);
Tailwind
colors: {
  custom: {
    50: '#c981ee',
    500: '#ac46e5',
    950: '#000000',
  },
}
SCSS
$custom: #ac46e5;
$custom-light: #c981ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46e5",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 278.491,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.23399,
    "h": 310.6
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#AC46E5
secondary
#BBE3A4
accent
#F23679
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC46E5

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

Preview Lab → · Contrast checker → · Palette generator →

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