#A33798#A33798

#A33798 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.181 H 332.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A33798
RGBrgb(163, 55, 152)
HSLhsl(306, 50%, 43%)
HSVhsv(306, 66%, 64%)
CMYKcmyk(0%, 66.3%, 6.7%, 36.1%)
CIE-LABlab(42.44, 55.73, -30.81)
CIE-LCHlch(42.44, 63.68, 331.06°)
OKLaboklab(52.74% 0.1597 -0.0845)
OKLCHoklch(52.74% 0.181 332.1)
XYZxyz(22.1380, 12.7876, 31.0020)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A33798 #37A342
analogous
#7837A3 #A33798 #A33762
triadic
#A33798 #98A337 #3798A3
tetradic
#A33798 #A37837 #37A342 #3762A3
square
#A33798 #A37837 #37A342 #3762A3
split-complementary
#A33798 #62A337 #37A378
monochromatic
#471843 #75286D #A33798 #C552B9 #D480CC

Accessibility & contrast

On white

5.90
#A33798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A33798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A33798
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A33798#FFFFFF#000000##FFFFFF
##A337981.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#AA4163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a33798;
/* rgb */ color: rgb(163, 55, 152);
/* oklch */ color: oklch(52.7% 0.181 332.1);
Tailwind
colors: {
  custom: {
    50: '#c176b6',
    500: '#a33798',
    950: '#000000',
  },
}
SCSS
$custom: #a33798;
$custom-light: #c176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a33798",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 306.111,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.18071,
    "h": 332.1
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#A33798
secondary
#78BE7F
accent
#D95D4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A33798

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

Preview Lab → · Contrast checker → · Palette generator →

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