#9C3DD4#9C3DD4

#9C3DD4 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.224 H 309.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9C3DD4
RGBrgb(156, 61, 212)
HSLhsl(278, 64%, 54%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(26.4%, 71.2%, 0%, 16.9%)
CIE-LABlab(45.85, 63.13, -60.69)
CIE-LCHlch(45.85, 87.57, 316.13°)
OKLaboklab(56.12% 0.143 -0.1719)
OKLCHoklch(56.12% 0.224 309.8)
XYZxyz(27.2604, 15.1594, 63.7646)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DD4 #75D43D
analogous
#503DD4 #9C3DD4 #D43DC1
triadic
#9C3DD4 #D49C3D #3DD49C
tetradic
#9C3DD4 #D4503D #75D43D #3DC1D4
square
#9C3DD4 #D4503D #75D43D #3DC1D4
split-complementary
#9C3DD4 #C1D43D #3DD450
monochromatic
#581B7B #7B26AD #9C3DD4 #B66FDF #CFA1EA

Accessibility & contrast

On white

5.21
#9C3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9C3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DD4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DD4#FFFFFF#000000##FFFFFF
##9C3DD41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#1D6ED1
Tritanopia (blue-blind)
#945F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3dd4;
/* rgb */ color: rgb(156, 61, 212);
/* oklch */ color: oklch(56.1% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#be7be2',
    500: '#9c3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dd4;
$custom-light: #be7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dd4",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 277.748,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.22357,
    "h": 309.8
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#9C3DD4
secondary
#AED796
accent
#E7417F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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