#9D3BC6#9D3BC6

#9D3BC6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.213 H 314.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9D3BC6
RGBrgb(157, 59, 198)
HSLhsl(282, 55%, 50%)
HSVhsv(282, 70%, 78%)
CMYKcmyk(20.7%, 70.2%, 0%, 22.4%)
CIE-LABlab(44.76, 61.24, -54.36)
CIE-LCHlch(44.76, 81.88, 318.41°)
OKLaboklab(55.08% 0.148 -0.1532)
OKLCHoklch(55.08% 0.213 314)
XYZxyz(25.6599, 14.3741, 54.8379)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BC6 #64C63B
analogous
#573BC6 #9D3BC6 #C63BAA
triadic
#9D3BC6 #C69D3B #3BC69D
tetradic
#9D3BC6 #C6573B #64C63B #3BAAC6
square
#9D3BC6 #C6573B #64C63B #3BAAC6
split-complementary
#9D3BC6 #AAC63B #3BC657
monochromatic
#521E68 #782C98 #9D3BC6 #B56AD4 #CC9AE2

Accessibility & contrast

On white

5.42
#9D3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9D3BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BC6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BC6#FFFFFF#000000##FFFFFF
##9D3BC61.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#336CC3
Tritanopia (blue-blind)
#99587D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3bc6;
/* rgb */ color: rgb(157, 59, 198);
/* oklch */ color: oklch(55.1% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#be79d8',
    500: '#9d3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bc6;
$custom-light: #be79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bc6",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 282.302,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.21301,
    "h": 314
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#9D3BC6
secondary
#A2CD8F
accent
#DE4A75
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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