#AC2098#AC2098

#AC2098 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.211 H 335.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2098
RGBrgb(172, 32, 152)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 81%, 67%)
CMYKcmyk(0%, 81.4%, 11.6%, 32.5%)
CIE-LABlab(41.33, 65.35, -32.45)
CIE-LCHlch(41.33, 72.96, 333.59°)
OKLaboklab(52.23% 0.191 -0.0888)
OKLCHoklch(52.23% 0.211 335.1)
XYZxyz(23.1976, 12.0728, 30.8082)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2098 #20AC34
analogous
#7A20AC #AC2098 #AC2052
triadic
#AC2098 #98AC20 #2098AC
tetradic
#AC2098 #AC7A20 #20AC34 #2052AC
square
#AC2098 #AC7A20 #20AC34 #2052AC
split-complementary
#AC2098 #52AC20 #20AC7A
monochromatic
#450D3D #78166A #AC2098 #D931C1 #E264D0

Accessibility & contrast

On white

6.15
#AC2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2098
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2098#FFFFFF#000000##FFFFFF
##AC20981.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#B52E5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2098;
/* rgb */ color: rgb(172, 32, 152);
/* oklch */ color: oklch(52.2% 0.211 335.1);
Tailwind
colors: {
  custom: {
    50: '#c96eb6',
    500: '#ac2098',
    950: '#000000',
  },
}
SCSS
$custom: #ac2098;
$custom-light: #c96eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2098",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 308.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.21065,
    "h": 335.1
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#AC2098
secondary
#60C76F
accent
#EB553C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2098

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

Preview Lab → · Contrast checker → · Palette generator →

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