#9D3DBB#9D3DBB

#9D3DBB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.200 H 317.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9D3DBB
RGBrgb(157, 61, 187)
HSLhsl(286, 51%, 49%)
HSVhsv(286, 67%, 73%)
CMYKcmyk(16%, 67.4%, 0%, 26.7%)
CIE-LABlab(44.37, 58.18, -48.59)
CIE-LCHlch(44.37, 75.80, 320.14°)
OKLaboklab(54.58% 0.1467 -0.1363)
OKLCHoklch(54.58% 0.2 317.1)
XYZxyz(24.5417, 14.0944, 48.4318)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DBB #5BBB3D
analogous
#5E3DBB #9D3DBB #BB3D9A
triadic
#9D3DBB #BB9D3D #3DBB9D
tetradic
#9D3DBB #BB5E3D #5BBB3D #3D9ABB
square
#9D3DBB #BB5E3D #5BBB3D #3D9ABB
split-complementary
#9D3DBB #9ABB3D #3DBB5E
monochromatic
#501F5F #762E8D #9D3DBB #B568CE #CC96DD

Accessibility & contrast

On white

5.50
#9D3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9D3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DBB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DBB#FFFFFF#000000##FFFFFF
##9D3DBB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#9C5577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3dbb;
/* rgb */ color: rgb(157, 61, 187);
/* oklch */ color: oklch(54.6% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#bd7ad0',
    500: '#9d3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dbb;
$custom-light: #bd7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dbb",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 285.714,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.20024,
    "h": 317.1
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#9D3DBB
secondary
#9AC88C
accent
#DA4E6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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