#AC46DB#AC46DB

#AC46DB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.225 H 313.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC46DB
RGBrgb(172, 70, 219)
HSLhsl(281, 67%, 57%)
HSVhsv(281, 68%, 86%)
CMYKcmyk(21.5%, 68%, 0%, 14.1%)
CIE-LABlab(49.82, 64.09, -58.18)
CIE-LCHlch(49.82, 86.56, 317.77°)
OKLaboklab(59.55% 0.1533 -0.164)
OKLCHoklch(59.55% 0.225 313.1)
XYZxyz(31.9874, 18.2664, 68.8449)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46DB #75DB46
analogous
#6246DB #AC46DB #DB46C0
triadic
#AC46DB #DBAC46 #46DBAC
tetradic
#AC46DB #DB6246 #75DB46 #46C0DB
square
#AC46DB #DB6246 #75DB46 #46C0DB
split-complementary
#AC46DB #C0DB46 #46DB62
monochromatic
#681B8B #8E25BF #AC46DB #C379E5 #DAACEF

Accessibility & contrast

On white

4.51
#AC46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AC46DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46DB#FFFFFF#000000##000000
##AC46DB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#A7658B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac46db;
/* rgb */ color: rgb(172, 70, 219);
/* oklch */ color: oklch(59.6% 0.225 313.1);
Tailwind
colors: {
  custom: {
    50: '#c981e7',
    500: '#ac46db',
    950: '#000000',
  },
}
SCSS
$custom: #ac46db;
$custom-light: #c981e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46db",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 281.074,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.22454,
    "h": 313.1
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#AC46DB
secondary
#B3DDA0
accent
#EA3D74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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