#AC22E3#AC22E3

#AC22E3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 57.2% C 0.265 H 313.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AC22E3
RGBrgb(172, 34, 227)
HSLhsl(283, 78%, 51%)
HSVhsv(283, 85%, 89%)
CMYKcmyk(24.2%, 85%, 0%, 11%)
CIE-LABlab(46.26, 77.46, -68.48)
CIE-LCHlch(46.26, 103.39, 318.52°)
OKLaboklab(57.22% 0.1809 -0.1941)
OKLCHoklch(57.22% 0.265 313)
XYZxyz(31.4479, 15.4618, 73.9860)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22E3 #59E322
analogous
#4B22E3 #AC22E3 #E322B9
triadic
#AC22E3 #E3AC22 #22E3AC
tetradic
#AC22E3 #E34B22 #59E322 #22B9E3
square
#AC22E3 #E34B22 #59E322 #22B9E3
split-complementary
#AC22E3 #B9E322 #22E34B
monochromatic
#5C107B #8516B1 #AC22E3 #C058EA #D58FF1

Accessibility & contrast

On white

5.13
#AC22E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AC22E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22E3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22E3#FFFFFF#000000##FFFFFF
##AC22E31.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#A65788
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac22e3;
/* rgb */ color: rgb(172, 34, 227);
/* oklch */ color: oklch(57.2% 0.265 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb72ed',
    500: '#ac22e3',
    950: '#000000',
  },
}
SCSS
$custom: #ac22e3;
$custom-light: #cb72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22e3",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 227
  },
  "hsl": {
    "h": 282.902,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.26534,
    "h": 313
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#AC22E3
secondary
#9EDB86
accent
#F4346B
background
#FDF7FE
surface
#FAEDFD
border
#D3C8D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AC22E3

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

Preview Lab → · Contrast checker → · Palette generator →

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