#A33198#A33198

#A33198 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.188 H 332.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A33198
RGBrgb(163, 49, 152)
HSLhsl(306, 54%, 42%)
HSVhsv(306, 70%, 64%)
CMYKcmyk(0%, 69.9%, 6.7%, 36.1%)
CIE-LABlab(41.61, 58.05, -32.11)
CIE-LCHlch(41.61, 66.35, 331.05°)
OKLaboklab(52.14% 0.1665 -0.0882)
OKLCHoklch(52.14% 0.188 332.1)
XYZxyz(21.8701, 12.2519, 30.9127)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A33198 #31A33C
analogous
#7531A3 #A33198 #A3315F
triadic
#A33198 #98A331 #3198A3
tetradic
#A33198 #A37531 #31A33C #315FA3
square
#A33198 #A37531 #31A33C #315FA3
split-complementary
#A33198 #5FA331 #31A375
monochromatic
#451540 #74236C #A33198 #C849BC #D678CD

Accessibility & contrast

On white

6.09
#A33198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A33198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A33198
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A33198#FFFFFF#000000##FFFFFF
##A331981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#AA3D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a33198;
/* rgb */ color: rgb(163, 49, 152);
/* oklch */ color: oklch(52.1% 0.188 332.1);
Tailwind
colors: {
  custom: {
    50: '#c273b6',
    500: '#a33198',
    950: '#000000',
  },
}
SCSS
$custom: #a33198;
$custom-light: #c273b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a33198",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 305.789,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.1884,
    "h": 332.1
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#A33198
secondary
#71BF79
accent
#DD594B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A33198

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

Preview Lab → · Contrast checker → · Palette generator →

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