#9D3BC8#9D3BC8

#9D3BC8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.215 H 313.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9D3BC8
RGBrgb(157, 59, 200)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 71%, 78%)
CMYKcmyk(21.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(44.90, 61.65, -55.31)
CIE-LCHlch(44.90, 82.82, 318.10°)
OKLaboklab(55.22% 0.1478 -0.156)
OKLCHoklch(55.22% 0.215 313.4)
XYZxyz(25.8921, 14.4670, 56.0609)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BC8 #66C83B
analogous
#563BC8 #9D3BC8 #C83BAC
triadic
#9D3BC8 #C89D3B #3BC89D
tetradic
#9D3BC8 #C8563B #66C83B #3BACC8
square
#9D3BC8 #C8563B #66C83B #3BACC8
split-complementary
#9D3BC8 #ACC83B #3BC856
monochromatic
#531E6B #792B9A #9D3BC8 #B56BD5 #CD9BE3

Accessibility & contrast

On white

5.39
#9D3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9D3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BC8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BC8#FFFFFF#000000##FFFFFF
##9D3BC81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#99597E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3bc8;
/* rgb */ color: rgb(157, 59, 200);
/* oklch */ color: oklch(55.2% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#be79d9',
    500: '#9d3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bc8;
$custom-light: #be79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bc8",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 281.702,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.21488,
    "h": 313.4
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#9D3BC8
secondary
#A3CF90
accent
#DF4876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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