#9D33B5#9D33B5

#9D33B5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.207 H 319.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D33B5
RGBrgb(157, 51, 181)
HSLhsl(289, 56%, 45%)
HSVhsv(289, 72%, 71%)
CMYKcmyk(13.3%, 71.8%, 0%, 29%)
CIE-LABlab(42.57, 61.04, -47.94)
CIE-LCHlch(42.57, 77.61, 321.85°)
OKLaboklab(53.17% 0.1575 -0.1344)
OKLCHoklch(53.17% 0.207 319.5)
XYZxyz(23.4279, 12.8731, 44.9578)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33B5 #4BB533
analogous
#5C33B5 #9D33B5 #B5338C
triadic
#9D33B5 #B59D33 #33B59D
tetradic
#9D33B5 #B55C33 #4BB533 #338CB5
square
#9D33B5 #B55C33 #4BB533 #338CB5
split-complementary
#9D33B5 #8CB533 #33B55C
monochromatic
#4A1856 #742685 #9D33B5 #B956CF #CD86DD

Accessibility & contrast

On white

5.88
#9D33B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9D33B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33B5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33B5#FFFFFF#000000##FFFFFF
##9D33B51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#9D4C71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d33b5;
/* rgb */ color: rgb(157, 51, 181);
/* oklch */ color: oklch(53.2% 0.207 319.5);
Tailwind
colors: {
  custom: {
    50: '#be75cc',
    500: '#9d33b5',
    950: '#000000',
  },
}
SCSS
$custom: #9d33b5;
$custom-light: #be75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33b5",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 288.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.20707,
    "h": 319.5
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#9D33B5
secondary
#8BC67D
accent
#DF4864
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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