#AC30B5#AC30B5

#AC30B5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.217 H 325.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC30B5
RGBrgb(172, 48, 181)
HSLhsl(296, 58%, 45%)
HSVhsv(296, 73%, 71%)
CMYKcmyk(5%, 73.5%, 0%, 29%)
CIE-LABlab(44.55, 65.28, -44.65)
CIE-LCHlch(44.55, 79.09, 325.63°)
OKLaboklab(55.05% 0.1777 -0.1243)
OKLCHoklch(55.05% 0.217 325)
XYZxyz(26.4101, 14.2225, 45.0613)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B5 #39B530
analogous
#6A30B5 #AC30B5 #B5307B
triadic
#AC30B5 #B5AC30 #30B5AC
tetradic
#AC30B5 #B56A30 #39B530 #307BB5
square
#AC30B5 #B56A30 #39B530 #307BB5
split-complementary
#AC30B5 #7BB530 #30B56A
monochromatic
#501654 #7E2385 #AC30B5 #C851D1 #D882DE

Accessibility & contrast

On white

5.46
#AC30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B5#FFFFFF#000000##FFFFFF
##AC30B51.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#4C6EB2
Tritanopia (blue-blind)
#B04770
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b5;
/* rgb */ color: rgb(172, 48, 181);
/* oklch */ color: oklch(55.0% 0.217 325.0);
Tailwind
colors: {
  custom: {
    50: '#c975cc',
    500: '#ac30b5',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b5;
$custom-light: #c975cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b5",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 295.94,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.21688,
    "h": 325
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#AC30B5
secondary
#7FC77A
accent
#E14651
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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