#AC3098#AC3098

#AC3098 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.195 H 335.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC3098
RGBrgb(172, 48, 152)
HSLhsl(310, 56%, 43%)
HSVhsv(310, 72%, 67%)
CMYKcmyk(0%, 72.1%, 11.6%, 32.5%)
CIE-LABlab(42.99, 60.59, -29.84)
CIE-LCHlch(42.99, 67.54, 333.78°)
OKLaboklab(53.43% 0.1769 -0.0815)
OKLCHoklch(53.43% 0.195 335.3)
XYZxyz(23.7380, 13.1536, 30.9884)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3098 #30AC44
analogous
#8230AC #AC3098 #AC305A
triadic
#AC3098 #98AC30 #3098AC
tetradic
#AC3098 #AC8230 #30AC44 #305AAC
square
#AC3098 #AC8230 #30AC44 #305AAC
split-complementary
#AC3098 #5AAC30 #30AC82
monochromatic
#4C1543 #7C236E #AC3098 #CD4CB8 #DA7CCB

Accessibility & contrast

On white

5.78
#AC3098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC3098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3098
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3098#FFFFFF#000000##FFFFFF
##AC30981.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#B53960
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac3098;
/* rgb */ color: rgb(172, 48, 152);
/* oklch */ color: oklch(53.4% 0.195 335.3);
Tailwind
colors: {
  custom: {
    50: '#c874b6',
    500: '#ac3098',
    950: '#000000',
  },
}
SCSS
$custom: #ac3098;
$custom-light: #c874b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3098",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 309.677,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.19475,
    "h": 335.3
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#AC3098
secondary
#75C381
accent
#E06148
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC3098

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

Preview Lab → · Contrast checker → · Palette generator →

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