#AC2DE3#AC2DE3

#AC2DE3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.9% C 0.257 H 312.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC2DE3
RGBrgb(172, 45, 227)
HSLhsl(282, 76%, 53%)
HSVhsv(282, 80%, 89%)
CMYKcmyk(24.2%, 80.2%, 0%, 11%)
CIE-LABlab(47.23, 74.62, -66.91)
CIE-LCHlch(47.23, 100.23, 318.12°)
OKLaboklab(57.89% 0.1741 -0.1895)
OKLCHoklch(57.89% 0.257 312.6)
XYZxyz(31.8142, 16.1944, 74.1081)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DE3 #64E32D
analogous
#512DE3 #AC2DE3 #E32DBF
triadic
#AC2DE3 #E3AC2D #2DE3AC
tetradic
#AC2DE3 #E3512D #64E32D #2DBFE3
square
#AC2DE3 #E3512D #64E32D #2DBFE3
split-complementary
#AC2DE3 #BFE32D #2DE351
monochromatic
#611284 #8919BA #AC2DE3 #C163EA #D799F1

Accessibility & contrast

On white

4.95
#AC2DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AC2DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DE3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DE3#FFFFFF#000000##FFFFFF
##AC2DE31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#A55B8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac2de3;
/* rgb */ color: rgb(172, 45, 227);
/* oklch */ color: oklch(57.9% 0.257 312.6);
Tailwind
colors: {
  custom: {
    50: '#ca76ed',
    500: '#ac2de3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2de3;
$custom-light: #ca76ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2de3",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 227
  },
  "hsl": {
    "h": 281.868,
    "s": 76.471,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.25734,
    "h": 312.6
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#AC2DE3
secondary
#A6DD8F
accent
#F3356E
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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