#9C3ED2#9C3ED2

#9C3ED2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.220 H 310.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9C3ED2
RGBrgb(156, 62, 210)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(25.7%, 70.5%, 0%, 17.6%)
CIE-LABlab(45.86, 62.30, -59.52)
CIE-LCHlch(45.86, 86.16, 316.30°)
OKLaboklab(56.09% 0.1423 -0.1684)
OKLCHoklch(56.09% 0.22 310.2)
XYZxyz(27.0635, 15.1669, 62.4621)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ED2 #74D23E
analogous
#523ED2 #9C3ED2 #D23EBE
triadic
#9C3ED2 #D29C3E #3ED29C
tetradic
#9C3ED2 #D2523E #74D23E #3EBED2
square
#9C3ED2 #D2523E #74D23E #3EBED2
split-complementary
#9C3ED2 #BED23E #3ED252
monochromatic
#571C79 #7B28AB #9C3ED2 #B570DE #CFA1E9

Accessibility & contrast

On white

5.21
#9C3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9C3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ED2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ED2#FFFFFF#000000##FFFFFF
##9C3ED21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#236ECF
Tritanopia (blue-blind)
#955F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3ed2;
/* rgb */ color: rgb(156, 62, 210);
/* oklch */ color: oklch(56.1% 0.220 310.2);
Tailwind
colors: {
  custom: {
    50: '#be7be1',
    500: '#9c3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ed2;
$custom-light: #be7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ed2",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 278.108,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.22049,
    "h": 310.2
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#9C3ED2
secondary
#ADD696
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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