#9C3ED9#9C3ED9

#9C3ED9 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.6% C 0.227 H 308.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C3ED9
RGBrgb(156, 62, 217)
HSLhsl(276, 67%, 55%)
HSVhsv(276, 71%, 85%)
CMYKcmyk(28.1%, 71.4%, 0%, 14.9%)
CIE-LABlab(46.34, 63.79, -62.76)
CIE-LCHlch(46.34, 89.49, 315.47°)
OKLaboklab(56.58% 0.1413 -0.1779)
OKLCHoklch(56.58% 0.227 308.4)
XYZxyz(27.9547, 15.5234, 67.1558)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ED9 #7BD93E
analogous
#4E3ED9 #9C3ED9 #D93EC9
triadic
#9C3ED9 #D99C3E #3ED99C
tetradic
#9C3ED9 #D94E3E #7BD93E #3EC9D9
square
#9C3ED9 #D94E3E #7BD93E #3EC9D9
split-complementary
#9C3ED9 #C9D93E #3ED94E
monochromatic
#591A83 #7C24B6 #9C3ED9 #B671E3 #D0A4ED

Accessibility & contrast

On white

5.12
#9C3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9C3ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ED9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ED9#FFFFFF#000000##FFFFFF
##9C3ED91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#116FD6
Tritanopia (blue-blind)
#936288
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c3ed9;
/* rgb */ color: rgb(156, 62, 217);
/* oklch */ color: oklch(56.6% 0.227 308.4);
Tailwind
colors: {
  custom: {
    50: '#be7be6',
    500: '#9c3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ed9;
$custom-light: #be7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ed9",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 276.387,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.22722,
    "h": 308.4
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#9C3ED9
secondary
#B2DA99
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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