#9D3BCB#9D3BCB

#9D3BCB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.218 H 312.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D3BCB
RGBrgb(157, 59, 203)
HSLhsl(281, 58%, 51%)
HSVhsv(281, 71%, 80%)
CMYKcmyk(22.7%, 70.9%, 0%, 20.4%)
CIE-LABlab(45.09, 62.26, -56.72)
CIE-LCHlch(45.09, 84.23, 317.67°)
OKLaboklab(55.42% 0.1474 -0.1602)
OKLCHoklch(55.42% 0.218 312.6)
XYZxyz(26.2461, 14.6086, 57.9255)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BCB #69CB3B
analogous
#553BCB #9D3BCB #CB3BB1
triadic
#9D3BCB #CB9D3B #3BCB9D
tetradic
#9D3BCB #CB553B #69CB3B #3BB1CB
square
#9D3BCB #CB553B #69CB3B #3BB1CB
split-complementary
#9D3BCB #B1CB3B #3BCB55
monochromatic
#541D6E #792A9F #9D3BCB #B56BD8 #CD9CE5

Accessibility & contrast

On white

5.35
#9D3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9D3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BCB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BCB#FFFFFF#000000##FFFFFF
##9D3BCB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#985A7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3bcb;
/* rgb */ color: rgb(157, 59, 203);
/* oklch */ color: oklch(55.4% 0.218 312.6);
Tailwind
colors: {
  custom: {
    50: '#be79dc',
    500: '#9d3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bcb;
$custom-light: #be79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bcb",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 280.833,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.21769,
    "h": 312.6
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#9D3BCB
secondary
#A5D191
accent
#E14778
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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