#AC30A2#AC30A2

#AC30A2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.202 H 331.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC30A2
RGBrgb(172, 48, 162)
HSLhsl(305, 56%, 43%)
HSVhsv(305, 72%, 67%)
CMYKcmyk(0%, 72.1%, 5.8%, 32.5%)
CIE-LABlab(43.50, 62.14, -35.05)
CIE-LCHlch(43.50, 71.34, 330.58°)
OKLaboklab(53.96% 0.1776 -0.0964)
OKLCHoklch(53.96% 0.202 331.5)
XYZxyz(24.5918, 13.4952, 35.4850)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30A2 #30AC3A
analogous
#7830AC #AC30A2 #AC3064
triadic
#AC30A2 #A2AC30 #30A2AC
tetradic
#AC30A2 #AC7830 #30AC3A #3064AC
square
#AC30A2 #AC7830 #30AC3A #3064AC
split-complementary
#AC30A2 #64AC30 #30AC78
monochromatic
#4C1548 #7C2375 #AC30A2 #CD4CC3 #DA7CD3

Accessibility & contrast

On white

5.68
#AC30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30A2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30A2#FFFFFF#000000##FFFFFF
##AC30A21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B33E66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac30a2;
/* rgb */ color: rgb(172, 48, 162);
/* oklch */ color: oklch(54.0% 0.202 331.5);
Tailwind
colors: {
  custom: {
    50: '#c874be',
    500: '#ac30a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac30a2;
$custom-light: #c874be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30a2",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 304.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.20212,
    "h": 331.5
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#AC30A2
secondary
#75C37B
accent
#E05448
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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