#9D3DCE#9D3DCE

#9D3DCE is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.218 H 311.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCE
RGBrgb(157, 61, 206)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 70%, 81%)
CMYKcmyk(23.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.58, 62.07, -57.66)
CIE-LCHlch(45.58, 84.72, 317.11°)
OKLaboklab(55.83% 0.1451 -0.163)
OKLCHoklch(55.83% 0.218 311.7)
XYZxyz(26.7119, 14.9625, 59.8615)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCE #6ECE3D
analogous
#543DCE #9D3DCE #CE3DB7
triadic
#9D3DCE #CE9D3D #3DCE9D
tetradic
#9D3DCE #CE543D #6ECE3D #3DB7CE
square
#9D3DCE #CE543D #6ECE3D #3DB7CE
split-complementary
#9D3DCE #B7CE3D #3DCE54
monochromatic
#561D73 #7B29A4 #9D3DCE #B66EDA #CE9FE7

Accessibility & contrast

On white

5.26
#9D3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCE#FFFFFF#000000##FFFFFF
##9D3DCE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#975C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3dce;
/* rgb */ color: rgb(157, 61, 206);
/* oklch */ color: oklch(55.8% 0.218 311.7);
Tailwind
colors: {
  custom: {
    50: '#be7bde',
    500: '#9d3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dce;
$custom-light: #be7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dce",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 279.724,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.21816,
    "h": 311.7
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#9D3DCE
secondary
#A9D394
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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