#9D3BBB#9D3BBB

#9D3BBB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.203 H 317.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D3BBB
RGBrgb(157, 59, 187)
HSLhsl(286, 52%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(16%, 68.4%, 0%, 26.7%)
CIE-LABlab(44.07, 59.02, -49.07)
CIE-LCHlch(44.07, 76.76, 320.26°)
OKLaboklab(54.36% 0.1488 -0.1377)
OKLCHoklch(54.36% 0.203 317.2)
XYZxyz(24.4369, 13.8849, 48.3969)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BBB #59BB3B
analogous
#5D3BBB #9D3BBB #BB3B99
triadic
#9D3BBB #BB9D3B #3BBB9D
tetradic
#9D3BBB #BB5D3B #59BB3B #3B99BB
square
#9D3BBB #BB5D3B #59BB3B #3B99BB
split-complementary
#9D3BBB #99BB3B #3BBB5D
monochromatic
#4F1E5E #762C8C #9D3BBB #B665CE #CC93DD

Accessibility & contrast

On white

5.56
#9D3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BBB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BBB#FFFFFF#000000##FFFFFF
##9D3BBB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3bbb;
/* rgb */ color: rgb(157, 59, 187);
/* oklch */ color: oklch(54.4% 0.203 317.2);
Tailwind
colors: {
  custom: {
    50: '#be79d0',
    500: '#9d3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bbb;
$custom-light: #be79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bbb",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 285.938,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.20279,
    "h": 317.2
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#9D3BBB
secondary
#98C88A
accent
#DB4C6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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