#9C3CD4#9C3CD4

#9C3CD4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.225 H 309.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9C3CD4
RGBrgb(156, 60, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(26.4%, 71.7%, 0%, 16.9%)
CIE-LABlab(45.71, 63.54, -60.92)
CIE-LCHlch(45.71, 88.03, 316.21°)
OKLaboklab(56.02% 0.144 -0.1725)
OKLCHoklch(56.02% 0.225 309.8)
XYZxyz(27.2075, 15.0537, 63.7470)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CD4 #74D43C
analogous
#503CD4 #9C3CD4 #D43CC0
triadic
#9C3CD4 #D49C3C #3CD49C
tetradic
#9C3CD4 #D4503C #74D43C #3CC0D4
square
#9C3CD4 #D4503C #74D43C #3CC0D4
split-complementary
#9C3CD4 #C0D43C #3CD450
monochromatic
#571B7B #7B26AD #9C3CD4 #B56EDF #CFA0EA

Accessibility & contrast

On white

5.24
#9C3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9C3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CD4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CD4#FFFFFF#000000##FFFFFF
##9C3CD41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#1B6ED1
Tritanopia (blue-blind)
#945E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3cd4;
/* rgb */ color: rgb(156, 60, 212);
/* oklch */ color: oklch(56.0% 0.225 309.8);
Tailwind
colors: {
  custom: {
    50: '#be7ae2',
    500: '#9c3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c3cd4;
$custom-light: #be7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3cd4",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 277.895,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.22472,
    "h": 309.8
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#9C3CD4
secondary
#ADD795
accent
#E7417E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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