#9D33A5#9D33A5

#9D33A5 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.193 H 324.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D33A5
RGBrgb(157, 51, 165)
HSLhsl(296, 53%, 42%)
HSVhsv(296, 69%, 65%)
CMYKcmyk(4.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(41.62, 58.09, -39.98)
CIE-LCHlch(41.62, 70.51, 325.46°)
OKLaboklab(52.18% 0.1581 -0.1111)
OKLCHoklch(52.18% 0.193 324.9)
XYZxyz(21.8795, 12.2537, 36.8028)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33A5 #3BA533
analogous
#6433A5 #9D33A5 #A53374
triadic
#9D33A5 #A59D33 #33A59D
tetradic
#9D33A5 #A56433 #3BA533 #3374A5
square
#9D33A5 #A56433 #3BA533 #3374A5
split-complementary
#9D33A5 #74A533 #33A564
monochromatic
#441648 #712576 #9D33A5 #BF4DC8 #D07CD6

Accessibility & contrast

On white

6.09
#9D33A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9D33A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D33A5#FFFFFF#000000##FFFFFF
##9D33A51.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)
#185AA8
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#A04568
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d33a5;
/* rgb */ color: rgb(157, 51, 165);
/* oklch */ color: oklch(52.2% 0.193 324.9);
Tailwind
colors: {
  custom: {
    50: '#bd74c0',
    500: '#9d33a5',
    950: '#000000',
  },
}
SCSS
$custom: #9d33a5;
$custom-light: #bd74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33a5",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 295.789,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.19328,
    "h": 324.9
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#9D33A5
secondary
#7ABF75
accent
#DC4C56
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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