#9D3BB6#9D3BB6

#9D3BB6 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.198 H 318.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB6
RGBrgb(157, 59, 182)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 68%, 71%)
CMYKcmyk(13.7%, 67.6%, 0%, 28.6%)
CIE-LABlab(43.76, 58.04, -46.63)
CIE-LCHlch(43.76, 74.45, 321.22°)
OKLaboklab(54.04% 0.1491 -0.1306)
OKLCHoklch(54.04% 0.198 318.8)
XYZxyz(23.9110, 13.6745, 45.6268)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB6 #54B63B
analogous
#603BB6 #9D3BB6 #B63B91
triadic
#9D3BB6 #B69D3B #3BB69D
tetradic
#9D3BB6 #B6603B #54B63B #3B91B6
square
#9D3BB6 #B6603B #54B63B #3B91B6
split-complementary
#9D3BB6 #91B63B #3BB660
monochromatic
#4D1D5A #752C88 #9D3BB6 #B762CC #CC90DB

Accessibility & contrast

On white

5.62
#9D3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9D3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB6#FFFFFF#000000##FFFFFF
##9D3BB61.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0561BA
Deuteranopia (green-blind)
#426BB3
Tritanopia (blue-blind)
#9D5174
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3bb6;
/* rgb */ color: rgb(157, 59, 182);
/* oklch */ color: oklch(54.0% 0.198 318.8);
Tailwind
colors: {
  custom: {
    50: '#bd79cc',
    500: '#9d3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb6;
$custom-light: #bd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb6",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 287.805,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.19818,
    "h": 318.8
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#9D3BB6
secondary
#94C687
accent
#DB4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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