#9D3CDE#9D3CDE

#9D3CDE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.234 H 307.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9D3CDE
RGBrgb(157, 60, 222)
HSLhsl(276, 71%, 55%)
HSVhsv(276, 73%, 87%)
CMYKcmyk(29.3%, 73%, 0%, 12.9%)
CIE-LABlab(46.54, 65.87, -65.28)
CIE-LCHlch(46.54, 92.73, 315.26°)
OKLaboklab(56.86% 0.1437 -0.1853)
OKLCHoklch(56.86% 0.234 307.8)
XYZxyz(28.7025, 15.6742, 70.6064)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CDE #7DDE3C
analogous
#4C3CDE #9D3CDE #DE3CCE
triadic
#9D3CDE #DE9D3C #3CDE9D
tetradic
#9D3CDE #DE4C3C #7DDE3C #3CCEDE
square
#9D3CDE #DE4C3C #7DDE3C #3CCEDE
split-complementary
#9D3CDE #CEDE3C #3CDE4C
monochromatic
#5B1788 #7E20BD #9D3CDE #B770E7 #D2A5F0

Accessibility & contrast

On white

5.08
#9D3CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9D3CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CDE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CDE#FFFFFF#000000##FFFFFF
##9D3CDE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3cde;
/* rgb */ color: rgb(157, 60, 222);
/* oklch */ color: oklch(56.9% 0.234 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf7be9',
    500: '#9d3cde',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cde;
$custom-light: #bf7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cde",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 222
  },
  "hsl": {
    "h": 275.926,
    "s": 71.053,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.23448,
    "h": 307.8
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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