#9D3BDE#9D3BDE

#9D3BDE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.8% C 0.236 H 307.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D3BDE
RGBrgb(157, 59, 222)
HSLhsl(276, 71%, 55%)
HSVhsv(276, 73%, 87%)
CMYKcmyk(29.3%, 73.4%, 0%, 12.9%)
CIE-LABlab(46.41, 66.26, -65.50)
CIE-LCHlch(46.41, 93.17, 315.33°)
OKLaboklab(56.77% 0.1446 -0.186)
OKLCHoklch(56.77% 0.236 307.9)
XYZxyz(28.6506, 15.5704, 70.5891)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BDE #7CDE3B
analogous
#4C3BDE #9D3BDE #DE3BCD
triadic
#9D3BDE #DE9D3B #3BDE9D
tetradic
#9D3BDE #DE4C3B #7CDE3B #3BCDDE
square
#9D3BDE #DE4C3B #7CDE3B #3BCDDE
split-complementary
#9D3BDE #CDDE3B #3BDE4C
monochromatic
#5B1788 #7E20BC #9D3BDE #B76FE7 #D1A4F0

Accessibility & contrast

On white

5.10
#9D3BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9D3BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BDE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BDE#FFFFFF#000000##FFFFFF
##9D3BDE1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#92628A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d3bde;
/* rgb */ color: rgb(157, 59, 222);
/* oklch */ color: oklch(56.8% 0.236 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ae9',
    500: '#9d3bde',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bde;
$custom-light: #bf7ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bde",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 276.074,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.23555,
    "h": 307.9
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#9D3BDE
secondary
#B3DD98
accent
#EE3A82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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