#9D33B8#9D33B8

#9D33B8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.210 H 318.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D33B8
RGBrgb(157, 51, 184)
HSLhsl(288, 57%, 46%)
HSVhsv(288, 72%, 72%)
CMYKcmyk(14.7%, 72.3%, 0%, 27.8%)
CIE-LABlab(42.76, 61.61, -49.41)
CIE-LCHlch(42.76, 78.97, 321.27°)
OKLaboklab(53.37% 0.1573 -0.1387)
OKLCHoklch(53.37% 0.21 318.6)
XYZxyz(23.7390, 12.9975, 46.5964)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33B8 #4EB833
analogous
#5B33B8 #9D33B8 #B83390
triadic
#9D33B8 #B89D33 #33B89D
tetradic
#9D33B8 #B85B33 #4EB833 #3390B8
square
#9D33B8 #B85B33 #4EB833 #3390B8
split-complementary
#9D33B8 #90B833 #33B85B
monochromatic
#4B1858 #742688 #9D33B8 #B858D1 #CC88DE

Accessibility & contrast

On white

5.83
#9D33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33B8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33B8#FFFFFF#000000##FFFFFF
##9D33B81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#9D4D73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d33b8;
/* rgb */ color: rgb(157, 51, 184);
/* oklch */ color: oklch(53.4% 0.210 318.6);
Tailwind
colors: {
  custom: {
    50: '#be75ce',
    500: '#9d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #9d33b8;
$custom-light: #be75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33b8",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 287.82,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.2097,
    "h": 318.6
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#9D33B8
secondary
#8EC87F
accent
#E04867
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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