#9C3DD1#9C3DD1

#9C3DD1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.221 H 310.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9C3DD1
RGBrgb(156, 61, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(25.4%, 70.8%, 0%, 18%)
CIE-LABlab(45.65, 62.50, -59.29)
CIE-LCHlch(45.65, 86.15, 316.51°)
OKLaboklab(55.91% 0.1434 -0.1678)
OKLCHoklch(55.91% 0.221 310.5)
XYZxyz(26.8854, 15.0095, 61.7901)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DD1 #72D13D
analogous
#523DD1 #9C3DD1 #D13DBC
triadic
#9C3DD1 #D19C3D #3DD19C
tetradic
#9C3DD1 #D1523D #72D13D #3DBCD1
square
#9C3DD1 #D1523D #72D13D #3DBCD1
split-complementary
#9C3DD1 #BCD13D #3DD152
monochromatic
#571C77 #7B28A9 #9C3DD1 #B56EDD #CEA0E8

Accessibility & contrast

On white

5.25
#9C3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9C3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DD1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DD1#FFFFFF#000000##FFFFFF
##9C3DD11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#236ECE
Tritanopia (blue-blind)
#955E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3dd1;
/* rgb */ color: rgb(156, 61, 209);
/* oklch */ color: oklch(55.9% 0.221 310.5);
Tailwind
colors: {
  custom: {
    50: '#be7be0',
    500: '#9c3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dd1;
$custom-light: #be7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dd1",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 278.514,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.22071,
    "h": 310.5
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#9C3DD1
secondary
#ACD595
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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