#9D33C8#9D33C8

#9D33C8 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.224 H 314.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9D33C8
RGBrgb(157, 51, 200)
HSLhsl(283, 59%, 49%)
HSVhsv(283, 75%, 78%)
CMYKcmyk(21.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(43.81, 64.73, -57.06)
CIE-LCHlch(43.81, 86.29, 318.61°)
OKLaboklab(54.45% 0.1554 -0.1611)
OKLCHoklch(54.45% 0.224 314)
XYZxyz(25.5120, 13.7067, 55.9342)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33C8 #5EC833
analogous
#5333C8 #9D33C8 #C833A9
triadic
#9D33C8 #C89D33 #33C89D
tetradic
#9D33C8 #C85333 #5EC833 #33A9C8
square
#9D33C8 #C85333 #5EC833 #33A9C8
split-complementary
#9D33C8 #A9C833 #33C853
monochromatic
#501A66 #772797 #9D33C8 #B561D7 #CC92E3

Accessibility & contrast

On white

5.61
#9D33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9D33C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33C8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33C8#FFFFFF#000000##FFFFFF
##9D33C81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#99547C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d33c8;
/* rgb */ color: rgb(157, 51, 200);
/* oklch */ color: oklch(54.4% 0.224 314.0);
Tailwind
colors: {
  custom: {
    50: '#be75d9',
    500: '#9d33c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d33c8;
$custom-light: #be75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33c8",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 282.685,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.22387,
    "h": 314
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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