#9C3ED6#9C3ED6

#9C3ED6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.224 H 309.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9C3ED6
RGBrgb(156, 62, 214)
HSLhsl(277, 65%, 54%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(27.1%, 71%, 0%, 16.1%)
CIE-LABlab(46.14, 63.15, -61.38)
CIE-LCHlch(46.14, 88.06, 315.82°)
OKLaboklab(56.37% 0.1417 -0.1739)
OKLCHoklch(56.37% 0.224 309.2)
XYZxyz(27.5681, 15.3687, 65.1195)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ED6 #78D63E
analogous
#503ED6 #9C3ED6 #D63EC4
triadic
#9C3ED6 #D69C3E #3ED69C
tetradic
#9C3ED6 #D6503E #78D63E #3EC4D6
square
#9C3ED6 #D6503E #78D63E #3EC4D6
split-complementary
#9C3ED6 #C4D63E #3ED650
monochromatic
#591B7F #7C26B1 #9C3ED6 #B670E1 #D0A3EB

Accessibility & contrast

On white

5.16
#9C3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9C3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ED6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ED6#FFFFFF#000000##FFFFFF
##9C3ED61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#1A6ED3
Tritanopia (blue-blind)
#936086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3ed6;
/* rgb */ color: rgb(156, 62, 214);
/* oklch */ color: oklch(56.4% 0.224 309.2);
Tailwind
colors: {
  custom: {
    50: '#be7be3',
    500: '#9c3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ed6;
$custom-light: #be7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ed6",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 277.105,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.22434,
    "h": 309.2
  },
  "luminance": 0.15368
}

Semantic roles & 50–950 ramp

primary
#9C3ED6
secondary
#B0D898
accent
#E84080
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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