#A33796#A33796

#A33796 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.179 H 332.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A33796
RGBrgb(163, 55, 150)
HSLhsl(307, 50%, 43%)
HSVhsv(307, 66%, 64%)
CMYKcmyk(0%, 66.3%, 8%, 36.1%)
CIE-LABlab(42.34, 55.41, -29.76)
CIE-LCHlch(42.34, 62.89, 331.76°)
OKLaboklab(52.64% 0.1595 -0.0815)
OKLCHoklch(52.64% 0.179 332.9)
XYZxyz(21.9755, 12.7226, 30.1465)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A33796 #37A344
analogous
#7A37A3 #A33796 #A33760
triadic
#A33796 #96A337 #3796A3
tetradic
#A33796 #A37A37 #37A344 #3760A3
square
#A33796 #A37A37 #37A344 #3760A3
split-complementary
#A33796 #60A337 #37A37A
monochromatic
#471842 #75286C #A33796 #C552B7 #D480CA

Accessibility & contrast

On white

5.93
#A33796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A33796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A33796
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A33796#FFFFFF#000000##FFFFFF
##A337961.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#586A93
Tritanopia (blue-blind)
#AA4061
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a33796;
/* rgb */ color: rgb(163, 55, 150);
/* oklch */ color: oklch(52.6% 0.179 332.9);
Tailwind
colors: {
  custom: {
    50: '#c176b5',
    500: '#a33796',
    950: '#000000',
  },
}
SCSS
$custom: #a33796;
$custom-light: #c176b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a33796",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 307.222,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52636,
    "c": 0.17914,
    "h": 332.9
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#A33796
secondary
#78BE81
accent
#D95F4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A33796

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

Preview Lab → · Contrast checker → · Palette generator →

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