#9D3DBE#9D3DBE

#9D3DBE is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.203 H 316.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9D3DBE
RGBrgb(157, 61, 190)
HSLhsl(285, 51%, 49%)
HSVhsv(285, 68%, 75%)
CMYKcmyk(17.4%, 67.9%, 0%, 25.5%)
CIE-LABlab(44.55, 58.78, -50.04)
CIE-LCHlch(44.55, 77.20, 319.59°)
OKLaboklab(54.77% 0.1465 -0.1406)
OKLCHoklch(54.77% 0.203 316.2)
XYZxyz(24.8662, 14.2242, 50.1409)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DBE #5EBE3D
analogous
#5D3DBE #9D3DBE #BE3D9F
triadic
#9D3DBE #BE9D3D #3DBE9D
tetradic
#9D3DBE #BE5D3D #5EBE3D #3D9FBE
square
#9D3DBE #BE5D3D #5EBE3D #3D9FBE
split-complementary
#9D3DBE #9FBE3D #3DBE5D
monochromatic
#501F61 #772E90 #9D3DBE #B569CF #CC98DE

Accessibility & contrast

On white

5.46
#9D3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DBE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DBE#FFFFFF#000000##FFFFFF
##9D3DBE1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#9B5679
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3dbe;
/* rgb */ color: rgb(157, 61, 190);
/* oklch */ color: oklch(54.8% 0.203 316.2);
Tailwind
colors: {
  custom: {
    50: '#be7ad2',
    500: '#9d3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dbe;
$custom-light: #be7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dbe",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 284.651,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.20305,
    "h": 316.2
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#9D3DBE
secondary
#9DC98D
accent
#DB4D71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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