#9D33B7#9D33B7

#9D33B7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.209 H 318.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D33B7
RGBrgb(157, 51, 183)
HSLhsl(288, 56%, 46%)
HSVhsv(288, 72%, 72%)
CMYKcmyk(14.2%, 72.1%, 0%, 28.2%)
CIE-LABlab(42.70, 61.41, -48.92)
CIE-LCHlch(42.70, 78.52, 321.46°)
OKLaboklab(53.3% 0.1574 -0.1372)
OKLCHoklch(53.3% 0.209 318.9)
XYZxyz(23.6346, 12.9558, 46.0463)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33B7 #4DB733
analogous
#5B33B7 #9D33B7 #B7338F
triadic
#9D33B7 #B79D33 #33B79D
tetradic
#9D33B7 #B75B33 #4DB733 #338FB7
square
#9D33B7 #B75B33 #4DB733 #338FB7
split-complementary
#9D33B7 #8FB733 #33B75B
monochromatic
#4B1857 #742687 #9D33B7 #B857D0 #CC87DE

Accessibility & contrast

On white

5.85
#9D33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33B7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33B7#FFFFFF#000000##FFFFFF
##9D33B71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#9D4D72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d33b7;
/* rgb */ color: rgb(157, 51, 183);
/* oklch */ color: oklch(53.3% 0.209 318.9);
Tailwind
colors: {
  custom: {
    50: '#be75cd',
    500: '#9d33b7',
    950: '#000000',
  },
}
SCSS
$custom: #9d33b7;
$custom-light: #be75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33b7",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 288.182,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.20883,
    "h": 318.9
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#9D33B7
secondary
#8DC77F
accent
#E04866
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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