#9C3ED4#9C3ED4

#9C3ED4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.222 H 309.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C3ED4
RGBrgb(156, 62, 212)
HSLhsl(278, 64%, 54%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(26.4%, 70.8%, 0%, 16.9%)
CIE-LABlab(46.00, 62.72, -60.45)
CIE-LCHlch(46.00, 87.11, 316.06°)
OKLaboklab(56.23% 0.142 -0.1712)
OKLCHoklch(56.23% 0.222 309.7)
XYZxyz(27.3142, 15.2672, 63.7826)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ED4 #76D43E
analogous
#513ED4 #9C3ED4 #D43EC1
triadic
#9C3ED4 #D49C3E #3ED49C
tetradic
#9C3ED4 #D4513E #76D43E #3EC1D4
square
#9C3ED4 #D4513E #76D43E #3EC1D4
split-complementary
#9C3ED4 #C1D43E #3ED451
monochromatic
#581C7C #7C27AE #9C3ED4 #B670DF #CFA2EA

Accessibility & contrast

On white

5.18
#9C3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9C3ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ED4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ED4#FFFFFF#000000##FFFFFF
##9C3ED41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#946085
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3ed4;
/* rgb */ color: rgb(156, 62, 212);
/* oklch */ color: oklch(56.2% 0.222 309.7);
Tailwind
colors: {
  custom: {
    50: '#be7be2',
    500: '#9c3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ed4;
$custom-light: #be7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ed4",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 277.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.22242,
    "h": 309.7
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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