#AC3398#AC3398

#AC3398 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.191 H 335.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC3398
RGBrgb(172, 51, 152)
HSLhsl(310, 54%, 44%)
HSVhsv(310, 70%, 67%)
CMYKcmyk(0%, 70.3%, 11.6%, 32.5%)
CIE-LABlab(43.37, 59.53, -29.25)
CIE-LCHlch(43.37, 66.33, 333.83°)
OKLaboklab(53.7% 0.1737 -0.0798)
OKLCHoklch(53.7% 0.191 335.3)
XYZxyz(23.8649, 13.4074, 31.0307)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3398 #33AC47
analogous
#8333AC #AC3398 #AC335B
triadic
#AC3398 #98AC33 #3398AC
tetradic
#AC3398 #AC8333 #33AC47 #335BAC
square
#AC3398 #AC8333 #33AC47 #335BAC
split-complementary
#AC3398 #5BAC33 #33AC83
monochromatic
#4E1745 #7D256E #AC3398 #CB51B7 #D980CB

Accessibility & contrast

On white

5.70
#AC3398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC3398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3398
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3398#FFFFFF#000000##FFFFFF
##AC33981.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#B53C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac3398;
/* rgb */ color: rgb(172, 51, 152);
/* oklch */ color: oklch(53.7% 0.191 335.3);
Tailwind
colors: {
  custom: {
    50: '#c875b6',
    500: '#ac3398',
    950: '#000000',
  },
}
SCSS
$custom: #ac3398;
$custom-light: #c875b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3398",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 309.917,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.537,
    "c": 0.19119,
    "h": 335.3
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#AC3398
secondary
#78C285
accent
#DE634A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC3398

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

Preview Lab → · Contrast checker → · Palette generator →

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