#9D33B2#9D33B2

#9D33B2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.204 H 320.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9D33B2
RGBrgb(157, 51, 178)
HSLhsl(290, 55%, 45%)
HSVhsv(290, 71%, 70%)
CMYKcmyk(11.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(42.39, 60.47, -46.47)
CIE-LCHlch(42.39, 76.26, 322.46°)
OKLaboklab(52.98% 0.1577 -0.1301)
OKLCHoklch(52.98% 0.204 320.5)
XYZxyz(23.1234, 12.7513, 43.3541)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33B2 #48B233
analogous
#5E33B2 #9D33B2 #B23387
triadic
#9D33B2 #B29D33 #33B29D
tetradic
#9D33B2 #B25E33 #48B233 #3387B2
square
#9D33B2 #B25E33 #48B233 #3387B2
split-complementary
#9D33B2 #87B233 #33B25E
monochromatic
#491853 #732582 #9D33B2 #BA54CE #CD84DC

Accessibility & contrast

On white

5.92
#9D33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9D33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33B2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33B2#FFFFFF#000000##FFFFFF
##9D33B21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#9E4B6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d33b2;
/* rgb */ color: rgb(157, 51, 178);
/* oklch */ color: oklch(53.0% 0.204 320.5);
Tailwind
colors: {
  custom: {
    50: '#be75ca',
    500: '#9d33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d33b2;
$custom-light: #be75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33b2",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 290.079,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.20446,
    "h": 320.5
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#9D33B2
secondary
#88C57C
accent
#DF4962
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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