#9D33B3#9D33B3

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

Color values

HEX#9D33B3
RGBrgb(157, 51, 179)
HSLhsl(290, 56%, 45%)
HSVhsv(290, 72%, 70%)
CMYKcmyk(12.3%, 71.5%, 0%, 29.8%)
CIE-LABlab(42.45, 60.66, -46.96)
CIE-LCHlch(42.45, 76.71, 322.25°)
OKLaboklab(53.04% 0.1577 -0.1315)
OKLCHoklch(53.04% 0.205 320.2)
XYZxyz(23.2241, 12.7916, 43.8848)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33B3 #49B333
analogous
#5D33B3 #9D33B3 #B33389
triadic
#9D33B3 #B39D33 #33B39D
tetradic
#9D33B3 #B35D33 #49B333 #3389B3
square
#9D33B3 #B35D33 #49B333 #3389B3
split-complementary
#9D33B3 #89B333 #33B35D
monochromatic
#491854 #732583 #9D33B3 #BA55CE #CD84DC

Accessibility & contrast

On white

5.90
#9D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33B3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33B3#FFFFFF#000000##FFFFFF
##9D33B31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#9E4B70
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d33b3;
/* rgb */ color: rgb(157, 51, 179);
/* oklch */ color: oklch(53.0% 0.205 320.2);
Tailwind
colors: {
  custom: {
    50: '#be75ca',
    500: '#9d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #9d33b3;
$custom-light: #be75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33b3",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 289.688,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.20533,
    "h": 320.2
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#9D33B3
secondary
#89C67C
accent
#DF4963
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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