#9D3BB2#9D3BB2

#9D3BB2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.195 H 320.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB2
RGBrgb(157, 59, 178)
HSLhsl(289, 50%, 46%)
HSVhsv(289, 67%, 70%)
CMYKcmyk(11.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(43.52, 57.27, -44.65)
CIE-LCHlch(43.52, 72.62, 322.06°)
OKLaboklab(53.8% 0.1492 -0.1248)
OKLCHoklch(53.8% 0.195 320.1)
XYZxyz(23.5035, 13.5115, 43.4808)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB2 #50B23B
analogous
#623BB2 #9D3BB2 #B23B8C
triadic
#9D3BB2 #B29D3B #3BB29D
tetradic
#9D3BB2 #B2623B #50B23B #3B8CB2
square
#9D3BB2 #B2623B #50B23B #3B8CB2
split-complementary
#9D3BB2 #8CB23B #3BB262
monochromatic
#4C1D56 #742C84 #9D3BB2 #B860CA #CC8EDA

Accessibility & contrast

On white

5.67
#9D3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB2#FFFFFF#000000##FFFFFF
##9D3BB21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9E5072
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3bb2;
/* rgb */ color: rgb(157, 59, 178);
/* oklch */ color: oklch(53.8% 0.195 320.1);
Tailwind
colors: {
  custom: {
    50: '#bd79c9',
    500: '#9d3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb2;
$custom-light: #bd79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb2",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 289.412,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.19453,
    "h": 320.1
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#9D3BB2
secondary
#90C485
accent
#DA4E67
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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