#9D3CBB#9D3CBB

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

Color values

HEX#9D3CBB
RGBrgb(157, 60, 187)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(16%, 67.9%, 0%, 26.7%)
CIE-LABlab(44.22, 58.61, -48.83)
CIE-LCHlch(44.22, 76.28, 320.20°)
OKLaboklab(54.47% 0.1478 -0.137)
OKLCHoklch(54.47% 0.202 317.2)
XYZxyz(24.4888, 13.9887, 48.4142)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CBB #5ABB3C
analogous
#5D3CBB #9D3CBB #BB3C99
triadic
#9D3CBB #BB9D3C #3CBB9D
tetradic
#9D3CBB #BB5D3C #5ABB3C #3C99BB
square
#9D3CBB #BB5D3C #5ABB3C #3C99BB
split-complementary
#9D3CBB #99BB3C #3CBB5D
monochromatic
#4F1E5E #762D8D #9D3CBB #B566CE #CC95DD

Accessibility & contrast

On white

5.53
#9D3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9D3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CBB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CBB#FFFFFF#000000##FFFFFF
##9D3CBB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#9C5477
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3cbb;
/* rgb */ color: rgb(157, 60, 187);
/* oklch */ color: oklch(54.5% 0.202 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd79d0',
    500: '#9d3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cbb;
$custom-light: #bd79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cbb",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 285.827,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.20152,
    "h": 317.2
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

primary
#9D3CBB
secondary
#99C88B
accent
#DB4D6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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