#AC42E0#AC42E0

#AC42E0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.234 H 312.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC42E0
RGBrgb(172, 66, 224)
HSLhsl(280, 72%, 57%)
HSVhsv(280, 71%, 88%)
CMYKcmyk(23.2%, 70.5%, 0%, 12.2%)
CIE-LABlab(49.56, 66.76, -61.44)
CIE-LCHlch(49.56, 90.73, 317.37°)
OKLaboklab(59.47% 0.1569 -0.1736)
OKLCHoklch(59.47% 0.234 312.1)
XYZxyz(32.4136, 18.0498, 72.2830)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42E0 #76E042
analogous
#5D42E0 #AC42E0 #E042C5
triadic
#AC42E0 #E0AC42 #42E0AC
tetradic
#AC42E0 #E05D42 #76E042 #42C5E0
square
#AC42E0 #E05D42 #76E042 #42C5E0
split-complementary
#AC42E0 #C5E042 #42E05D
monochromatic
#681890 #8E20C5 #AC42E0 #C377E9 #DAABF1

Accessibility & contrast

On white

4.56
#AC42E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AC42E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC42E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42E0#FFFFFF#000000##000000
##AC42E01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2F78DD
Tritanopia (blue-blind)
#A6648D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac42e0;
/* rgb */ color: rgb(172, 66, 224);
/* oklch */ color: oklch(59.5% 0.234 312.1);
Tailwind
colors: {
  custom: {
    50: '#c97fea',
    500: '#ac42e0',
    950: '#000000',
  },
}
SCSS
$custom: #ac42e0;
$custom-light: #c97fea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42e0",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 280.253,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.23397,
    "h": 312.1
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#AC42E0
secondary
#B4DF9F
accent
#EF3975
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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