#9D33BA#9D33BA

#9D33BA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.211 H 318.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9D33BA
RGBrgb(157, 51, 186)
HSLhsl(287, 57%, 46%)
HSVhsv(287, 73%, 73%)
CMYKcmyk(15.6%, 72.6%, 0%, 27.1%)
CIE-LABlab(42.89, 61.99, -50.38)
CIE-LCHlch(42.89, 79.88, 320.90°)
OKLaboklab(53.5% 0.1571 -0.1415)
OKLCHoklch(53.5% 0.211 318)
XYZxyz(23.9501, 13.0820, 47.7084)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33BA #50BA33
analogous
#5A33BA #9D33BA #BA3394
triadic
#9D33BA #BA9D33 #33BA9D
tetradic
#9D33BA #BA5A33 #50BA33 #3394BA
square
#9D33BA #BA5A33 #50BA33 #3394BA
split-complementary
#9D33BA #94BA33 #33BA5A
monochromatic
#4C195A #74268A #9D33BA #B859D1 #CC89DF

Accessibility & contrast

On white

5.81
#9D33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33BA#FFFFFF#000000##FFFFFF
##9D33BA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3969B7
Tritanopia (blue-blind)
#9C4E74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d33ba;
/* rgb */ color: rgb(157, 51, 186);
/* oklch */ color: oklch(53.5% 0.211 318.0);
Tailwind
colors: {
  custom: {
    50: '#be75cf',
    500: '#9d33ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d33ba;
$custom-light: #be75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33ba",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 287.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.21146,
    "h": 318
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#9D33BA
secondary
#90C980
accent
#E04868
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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