#9C3ED5#9C3ED5

#9C3ED5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.223 H 309.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9C3ED5
RGBrgb(156, 62, 213)
HSLhsl(277, 64%, 54%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(26.8%, 70.9%, 0%, 16.5%)
CIE-LABlab(46.07, 62.94, -60.91)
CIE-LCHlch(46.07, 87.59, 315.94°)
OKLaboklab(56.3% 0.1419 -0.1725)
OKLCHoklch(56.3% 0.223 309.4)
XYZxyz(27.4408, 15.3178, 64.4490)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ED5 #77D53E
analogous
#513ED5 #9C3ED5 #D53EC3
triadic
#9C3ED5 #D59C3E #3ED59C
tetradic
#9C3ED5 #D5513E #77D53E #3EC3D5
square
#9C3ED5 #D5513E #77D53E #3EC3D5
split-complementary
#9C3ED5 #C3D53E #3ED551
monochromatic
#581B7D #7C26B0 #9C3ED5 #B670E0 #D0A3EB

Accessibility & contrast

On white

5.17
#9C3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9C3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ED5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ED5#FFFFFF#000000##FFFFFF
##9C3ED51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#946086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3ed5;
/* rgb */ color: rgb(156, 62, 213);
/* oklch */ color: oklch(56.3% 0.223 309.4);
Tailwind
colors: {
  custom: {
    50: '#be7be3',
    500: '#9c3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ed5;
$custom-light: #be7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ed5",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 277.351,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.22338,
    "h": 309.4
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#9C3ED5
secondary
#B0D897
accent
#E7417F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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