#AC30B8#AC30B8

#AC30B8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.219 H 324.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AC30B8
RGBrgb(172, 48, 184)
HSLhsl(295, 59%, 45%)
HSVhsv(295, 74%, 72%)
CMYKcmyk(6.5%, 73.9%, 0%, 27.8%)
CIE-LABlab(44.73, 65.80, -46.13)
CIE-LCHlch(44.73, 80.36, 324.97°)
OKLaboklab(55.23% 0.1776 -0.1286)
OKLCHoklch(55.23% 0.219 324.1)
XYZxyz(26.7212, 14.3469, 46.6999)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B8 #3CB830
analogous
#6830B8 #AC30B8 #B83080
triadic
#AC30B8 #B8AC30 #30B8AC
tetradic
#AC30B8 #B86830 #3CB830 #3080B8
square
#AC30B8 #B86830 #3CB830 #3080B8
split-complementary
#AC30B8 #80B830 #30B868
monochromatic
#511757 #7F2387 #AC30B8 #C753D2 #D784DF

Accessibility & contrast

On white

5.43
#AC30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AC30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B8#FFFFFF#000000##FFFFFF
##AC30B81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#AF4972
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac30b8;
/* rgb */ color: rgb(172, 48, 184);
/* oklch */ color: oklch(55.2% 0.219 324.1);
Tailwind
colors: {
  custom: {
    50: '#c975ce',
    500: '#ac30b8',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b8;
$custom-light: #c975ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b8",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 294.706,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.21927,
    "h": 324.1
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#AC30B8
secondary
#82C87C
accent
#E24654
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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