#AC30B2#AC30B2

#AC30B2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.214 H 326.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC30B2
RGBrgb(172, 48, 178)
HSLhsl(297, 58%, 44%)
HSVhsv(297, 73%, 70%)
CMYKcmyk(3.4%, 73%, 0%, 30.2%)
CIE-LABlab(44.38, 64.77, -43.16)
CIE-LCHlch(44.38, 77.83, 326.32°)
OKLaboklab(54.87% 0.1778 -0.1199)
OKLCHoklch(54.87% 0.214 326)
XYZxyz(26.1056, 14.1007, 43.4576)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B2 #36B230
analogous
#6B30B2 #AC30B2 #B23077
triadic
#AC30B2 #B2AC30 #30B2AC
tetradic
#AC30B2 #B26B30 #36B230 #3077B2
square
#AC30B2 #B26B30 #36B230 #3077B2
split-complementary
#AC30B2 #77B230 #30B26B
monochromatic
#4F1652 #7D2382 #AC30B2 #CA50D0 #D880DD

Accessibility & contrast

On white

5.50
#AC30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B2#FFFFFF#000000##FFFFFF
##AC30B21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#B0466F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b2;
/* rgb */ color: rgb(172, 48, 178);
/* oklch */ color: oklch(54.9% 0.214 326.0);
Tailwind
colors: {
  custom: {
    50: '#c875c9',
    500: '#ac30b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b2;
$custom-light: #c875c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b2",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 297.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.21449,
    "h": 326
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#AC30B2
secondary
#7CC678
accent
#E1474E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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