#9D33AD#9D33AD

#9D33AD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 322.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9D33AD
RGBrgb(157, 51, 173)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 71%, 68%)
CMYKcmyk(9.2%, 70.5%, 0%, 32.2%)
CIE-LABlab(42.08, 59.54, -43.99)
CIE-LCHlch(42.08, 74.03, 323.54°)
OKLaboklab(52.67% 0.158 -0.1228)
OKLCHoklch(52.67% 0.2 322.1)
XYZxyz(22.6305, 12.5541, 40.7582)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33AD #43AD33
analogous
#6033AD #9D33AD #AD3380
triadic
#9D33AD #AD9D33 #33AD9D
tetradic
#9D33AD #AD6033 #43AD33 #3380AD
square
#9D33AD #AD6033 #43AD33 #3380AD
split-complementary
#9D33AD #80AD33 #33AD60
monochromatic
#47174E #72257E #9D33AD #BC51CC #CE81DA

Accessibility & contrast

On white

5.98
#9D33AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9D33AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33AD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33AD#FFFFFF#000000##FFFFFF
##9D33AD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB0
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#9F496D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d33ad;
/* rgb */ color: rgb(157, 51, 173);
/* oklch */ color: oklch(52.7% 0.200 322.1);
Tailwind
colors: {
  custom: {
    50: '#bd74c6',
    500: '#9d33ad',
    950: '#000000',
  },
}
SCSS
$custom: #9d33ad;
$custom-light: #bd74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33ad",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 292.131,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.20013,
    "h": 322.1
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#9D33AD
secondary
#83C379
accent
#DE4A5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D33AD

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

Preview Lab → · Contrast checker → · Palette generator →

#9D33AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva