#9D33C9#9D33C9

#9D33C9 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.225 H 313.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9D33C9
RGBrgb(157, 51, 201)
HSLhsl(282, 60%, 49%)
HSVhsv(282, 75%, 79%)
CMYKcmyk(21.9%, 74.6%, 0%, 21.2%)
CIE-LABlab(43.88, 64.93, -57.53)
CIE-LCHlch(43.88, 86.75, 318.46°)
OKLaboklab(54.52% 0.1553 -0.1625)
OKLCHoklch(54.52% 0.225 313.7)
XYZxyz(25.6292, 13.7536, 56.5517)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33C9 #5FC933
analogous
#5233C9 #9D33C9 #C933AA
triadic
#9D33C9 #C99D33 #33C99D
tetradic
#9D33C9 #C95233 #5FC933 #33AAC9
square
#9D33C9 #C95233 #5FC933 #33AAC9
split-complementary
#9D33C9 #AAC933 #33C952
monochromatic
#511A67 #772798 #9D33C9 #B562D7 #CC93E4

Accessibility & contrast

On white

5.60
#9D33C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9D33C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33C9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33C9#FFFFFF#000000##FFFFFF
##9D33C91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#266AC6
Tritanopia (blue-blind)
#99557C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d33c9;
/* rgb */ color: rgb(157, 51, 201);
/* oklch */ color: oklch(54.5% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#be75da',
    500: '#9d33c9',
    950: '#000000',
  },
}
SCSS
$custom: #9d33c9;
$custom-light: #be75da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33c9",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 282.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54515,
    "c": 0.22476,
    "h": 313.7
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

primary
#9D33C9
secondary
#9ECF89
accent
#E34573
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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