#9D3BB5#9D3BB5

#9D3BB5 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.197 H 319.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB5
RGBrgb(157, 59, 181)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 67%, 71%)
CMYKcmyk(13.3%, 67.4%, 0%, 29%)
CIE-LABlab(43.70, 57.85, -46.13)
CIE-LCHlch(43.70, 73.99, 321.43°)
OKLaboklab(53.98% 0.1491 -0.1291)
OKLCHoklch(53.98% 0.197 319.1)
XYZxyz(23.8080, 13.6333, 45.0845)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB5 #53B53B
analogous
#603BB5 #9D3BB5 #B53B90
triadic
#9D3BB5 #B59D3B #3BB59D
tetradic
#9D3BB5 #B5603B #53B53B #3B90B5
square
#9D3BB5 #B5603B #53B53B #3B90B5
split-complementary
#9D3BB5 #90B53B #3BB560
monochromatic
#4D1D59 #752C87 #9D3BB5 #B762CC #CC90DB

Accessibility & contrast

On white

5.64
#9D3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9D3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB5#FFFFFF#000000##FFFFFF
##9D3BB51.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0961B9
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#9D5173
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3bb5;
/* rgb */ color: rgb(157, 59, 181);
/* oklch */ color: oklch(54.0% 0.197 319.1);
Tailwind
colors: {
  custom: {
    50: '#bd79cc',
    500: '#9d3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb5;
$custom-light: #bd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb5",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 288.197,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.19727,
    "h": 319.1
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#9D3BB5
secondary
#93C686
accent
#DA4D69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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