#AC2DE2#AC2DE2

#AC2DE2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.8% C 0.257 H 312.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC2DE2
RGBrgb(172, 45, 226)
HSLhsl(282, 76%, 53%)
HSVhsv(282, 80%, 89%)
CMYKcmyk(23.9%, 80.1%, 0%, 11.4%)
CIE-LABlab(47.16, 74.43, -66.46)
CIE-LCHlch(47.16, 99.79, 318.24°)
OKLaboklab(57.82% 0.1743 -0.1882)
OKLCHoklch(57.82% 0.257 312.8)
XYZxyz(31.6766, 16.1394, 73.3833)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DE2 #63E22D
analogous
#512DE2 #AC2DE2 #E22DBE
triadic
#AC2DE2 #E2AC2D #2DE2AC
tetradic
#AC2DE2 #E2512D #63E22D #2DBEE2
square
#AC2DE2 #E2512D #63E22D #2DBEE2
split-complementary
#AC2DE2 #BEE22D #2DE251
monochromatic
#611283 #8919B8 #AC2DE2 #C163E9 #D799F1

Accessibility & contrast

On white

4.97
#AC2DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AC2DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DE2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DE2#FFFFFF#000000##FFFFFF
##AC2DE21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0272DE
Tritanopia (blue-blind)
#A65B89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac2de2;
/* rgb */ color: rgb(172, 45, 226);
/* oklch */ color: oklch(57.8% 0.257 312.8);
Tailwind
colors: {
  custom: {
    50: '#ca76ec',
    500: '#ac2de2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2de2;
$custom-light: #ca76ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2de2",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 282.099,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.25652,
    "h": 312.8
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#AC2DE2
secondary
#A6DC8E
accent
#F2356E
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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