#AC30B3#AC30B3

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

Color values

HEX#AC30B3
RGBrgb(172, 48, 179)
HSLhsl(297, 58%, 45%)
HSVhsv(297, 73%, 70%)
CMYKcmyk(3.9%, 73.2%, 0%, 29.8%)
CIE-LABlab(44.43, 64.94, -43.65)
CIE-LCHlch(44.43, 78.25, 326.09°)
OKLaboklab(54.93% 0.1778 -0.1214)
OKLCHoklch(54.93% 0.215 325.7)
XYZxyz(26.2063, 14.1410, 43.9883)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B3 #37B330
analogous
#6B30B3 #AC30B3 #B33079
triadic
#AC30B3 #B3AC30 #30B3AC
tetradic
#AC30B3 #B36B30 #37B330 #3079B3
square
#AC30B3 #B36B30 #37B330 #3079B3
split-complementary
#AC30B3 #79B330 #30B36B
monochromatic
#4F1652 #7E2383 #AC30B3 #C950D0 #D880DD

Accessibility & contrast

On white

5.49
#AC30B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AC30B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B3#FFFFFF#000000##FFFFFF
##AC30B31.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB7
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#B0466F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b3;
/* rgb */ color: rgb(172, 48, 179);
/* oklch */ color: oklch(54.9% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#c875ca',
    500: '#ac30b3',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b3;
$custom-light: #c875ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b3",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 296.794,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.21528,
    "h": 325.7
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#AC30B3
secondary
#7DC679
accent
#E1474F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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