#AC46ED#AC46ED

#AC46ED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.8% C 0.242 H 308.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC46ED
RGBrgb(172, 70, 237)
HSLhsl(277, 82%, 60%)
HSVhsv(277, 70%, 93%)
CMYKcmyk(27.4%, 70.5%, 0%, 7.1%)
CIE-LABlab(51.00, 67.84, -66.45)
CIE-LCHlch(51.00, 94.97, 315.59°)
OKLaboklab(60.77% 0.1513 -0.1883)
OKLCHoklch(60.77% 0.242 308.8)
XYZxyz(34.4864, 19.2660, 82.0063)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46ED #87ED46
analogous
#5946ED #AC46ED #ED46DA
triadic
#AC46ED #EDAC46 #46EDAC
tetradic
#AC46ED #ED5946 #87ED46 #46DAED
square
#AC46ED #ED5946 #87ED46 #46DAED
split-complementary
#AC46ED #DAED46 #46ED59
monochromatic
#6D10A8 #9116E0 #AC46ED #C57EF2 #DEB6F8

Accessibility & contrast

On white

4.33
#AC46ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AC46ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46ED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46ED#FFFFFF#000000##000000
##AC46ED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#1B7BE9
Tritanopia (blue-blind)
#A26C95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac46ed;
/* rgb */ color: rgb(172, 70, 237);
/* oklch */ color: oklch(60.8% 0.242 308.8);
Tailwind
colors: {
  custom: {
    50: '#ca82f4',
    500: '#ac46ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac46ed;
$custom-light: #ca82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46ed",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 237
  },
  "hsl": {
    "h": 276.647,
    "s": 82.266,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.24157,
    "h": 308.8
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC46ED

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

Preview Lab → · Contrast checker → · Palette generator →

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