#9D3BC2#9D3BC2

#9D3BC2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.209 H 315.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D3BC2
RGBrgb(157, 59, 194)
HSLhsl(284, 53%, 50%)
HSVhsv(284, 70%, 76%)
CMYKcmyk(19.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(44.51, 60.42, -52.45)
CIE-LCHlch(44.51, 80.01, 319.04°)
OKLaboklab(54.82% 0.1483 -0.1476)
OKLCHoklch(54.82% 0.209 315.1)
XYZxyz(25.2046, 14.1920, 52.4401)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BC2 #60C23B
analogous
#5A3BC2 #9D3BC2 #C23BA3
triadic
#9D3BC2 #C29D3B #3BC29D
tetradic
#9D3BC2 #C25A3B #60C23B #3BA3C2
square
#9D3BC2 #C25A3B #60C23B #3BA3C2
split-complementary
#9D3BC2 #A3C23B #3BC25A
monochromatic
#511E64 #772D93 #9D3BC2 #B569D1 #CC98E0

Accessibility & contrast

On white

5.47
#9D3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BC2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BC2#FFFFFF#000000##FFFFFF
##9D3BC21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#9A567A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3bc2;
/* rgb */ color: rgb(157, 59, 194);
/* oklch */ color: oklch(54.8% 0.209 315.1);
Tailwind
colors: {
  custom: {
    50: '#be79d5',
    500: '#9d3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bc2;
$custom-light: #be79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bc2",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 283.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.20929,
    "h": 315.1
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#9D3BC2
secondary
#9ECB8E
accent
#DD4B73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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