#A33298#A33298

#A33298 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 332.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A33298
RGBrgb(163, 50, 152)
HSLhsl(306, 53%, 42%)
HSVhsv(306, 69%, 64%)
CMYKcmyk(0%, 69.3%, 6.7%, 36.1%)
CIE-LABlab(41.75, 57.68, -31.91)
CIE-LCHlch(41.75, 65.92, 331.05°)
OKLaboklab(52.24% 0.1654 -0.0876)
OKLCHoklch(52.24% 0.187 332.1)
XYZxyz(21.9124, 12.3365, 30.9268)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A33298 #32A33D
analogous
#7632A3 #A33298 #A33260
triadic
#A33298 #98A332 #3298A3
tetradic
#A33298 #A37632 #32A33D #3260A3
square
#A33298 #A37632 #32A33D #3260A3
split-complementary
#A33298 #60A332 #32A376
monochromatic
#451541 #74246C #A33298 #C84BBB #D679CD

Accessibility & contrast

On white

6.06
#A33298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A33298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A33298
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A33298#FFFFFF#000000##FFFFFF
##A332981.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a33298;
/* rgb */ color: rgb(163, 50, 152);
/* oklch */ color: oklch(52.2% 0.187 332.1);
Tailwind
colors: {
  custom: {
    50: '#c274b6',
    500: '#a33298',
    950: '#000000',
  },
}
SCSS
$custom: #a33298;
$custom-light: #c274b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a33298",
  "rgb": {
    "r": 163,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 305.841,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.18717,
    "h": 332.1
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#A33298
secondary
#72BF7A
accent
#DC594B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A33298

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

Preview Lab → · Contrast checker → · Palette generator →

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