#9D3BBD#9D3BBD

#9D3BBD is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.205 H 316.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3BBD
RGBrgb(157, 59, 189)
HSLhsl(285, 52%, 49%)
HSVhsv(285, 69%, 74%)
CMYKcmyk(16.9%, 68.8%, 0%, 25.9%)
CIE-LABlab(44.19, 59.42, -50.04)
CIE-LCHlch(44.19, 77.68, 319.90°)
OKLaboklab(54.49% 0.1487 -0.1406)
OKLCHoklch(54.49% 0.205 316.6)
XYZxyz(24.6525, 13.9711, 49.5324)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BBD #5BBD3B
analogous
#5C3BBD #9D3BBD #BD3B9C
triadic
#9D3BBD #BD9D3B #3BBD9D
tetradic
#9D3BBD #BD5C3B #5BBD3B #3B9CBD
square
#9D3BBD #BD5C3B #5BBD3B #3B9CBD
split-complementary
#9D3BBD #9CBD3B #3BBD5C
monochromatic
#501E60 #762C8E #9D3BBD #B566CF #CC95DE

Accessibility & contrast

On white

5.54
#9D3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BBD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BBD#FFFFFF#000000##FFFFFF
##9D3BBD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#9B5478
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3bbd;
/* rgb */ color: rgb(157, 59, 189);
/* oklch */ color: oklch(54.5% 0.205 316.6);
Tailwind
colors: {
  custom: {
    50: '#be79d1',
    500: '#9d3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bbd;
$custom-light: #be79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bbd",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 285.231,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.20465,
    "h": 316.6
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#9D3BBD
secondary
#9AC98B
accent
#DC4C6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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