#9D33AF#9D33AF

#9D33AF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.202 H 321.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9D33AF
RGBrgb(157, 51, 175)
HSLhsl(291, 55%, 44%)
HSVhsv(291, 71%, 69%)
CMYKcmyk(10.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(42.20, 59.91, -44.99)
CIE-LCHlch(42.20, 74.92, 323.10°)
OKLaboklab(52.79% 0.1579 -0.1257)
OKLCHoklch(52.79% 0.202 321.5)
XYZxyz(22.8255, 12.6321, 41.7851)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33AF #45AF33
analogous
#5F33AF #9D33AF #AF3383
triadic
#9D33AF #AF9D33 #33AF9D
tetradic
#9D33AF #AF5F33 #45AF33 #3383AF
square
#9D33AF #AF5F33 #45AF33 #3383AF
split-complementary
#9D33AF #83AF33 #33AF5F
monochromatic
#481750 #722580 #9D33AF #BB52CD #CE82DB

Accessibility & contrast

On white

5.96
#9D33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33AF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33AF#FFFFFF#000000##FFFFFF
##9D33AF1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#9E4A6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d33af;
/* rgb */ color: rgb(157, 51, 175);
/* oklch */ color: oklch(52.8% 0.202 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd74c7',
    500: '#9d33af',
    950: '#000000',
  },
}
SCSS
$custom: #9d33af;
$custom-light: #bd74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33af",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 291.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.20185,
    "h": 321.5
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#9D33AF
secondary
#85C47A
accent
#DE4A5F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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