#9D33A2#9D33A2

#9D33A2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 326.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D33A2
RGBrgb(157, 51, 162)
HSLhsl(297, 52%, 42%)
HSVhsv(297, 69%, 64%)
CMYKcmyk(3.1%, 68.5%, 0%, 36.5%)
CIE-LABlab(41.45, 57.55, -38.45)
CIE-LCHlch(41.45, 69.22, 326.25°)
OKLaboklab(52.01% 0.1581 -0.1067)
OKLCHoklch(52.01% 0.191 326)
XYZxyz(21.6096, 12.1458, 35.3816)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33A2 #38A233
analogous
#6633A2 #9D33A2 #A23370
triadic
#9D33A2 #A29D33 #33A29D
tetradic
#9D33A2 #A26633 #38A233 #3370A2
square
#9D33A2 #A26633 #38A233 #3370A2
split-complementary
#9D33A2 #70A233 #33A266
monochromatic
#431645 #702473 #9D33A2 #C14CC7 #D17AD5

Accessibility & contrast

On white

6.12
#9D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33A2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33A2#FFFFFF#000000##FFFFFF
##9D33A21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#A14467
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d33a2;
/* rgb */ color: rgb(157, 51, 162);
/* oklch */ color: oklch(52.0% 0.191 326.0);
Tailwind
colors: {
  custom: {
    50: '#bd74be',
    500: '#9d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #9d33a2;
$custom-light: #bd74be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33a2",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 297.297,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.19076,
    "h": 326
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#9D33A2
secondary
#76BE73
accent
#DC4C53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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