#9C3CD1#9C3CD1

#9C3CD1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.222 H 310.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C3CD1
RGBrgb(156, 60, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(25.4%, 71.3%, 0%, 18%)
CIE-LABlab(45.50, 62.91, -59.53)
CIE-LCHlch(45.50, 86.61, 316.58°)
OKLaboklab(55.81% 0.1444 -0.1685)
OKLCHoklch(55.81% 0.222 310.6)
XYZxyz(26.8326, 14.9037, 61.7724)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CD1 #71D13C
analogous
#523CD1 #9C3CD1 #D13CBB
triadic
#9C3CD1 #D19C3C #3CD19C
tetradic
#9C3CD1 #D1523C #71D13C #3CBBD1
square
#9C3CD1 #D1523C #71D13C #3CBBD1
split-complementary
#9C3CD1 #BBD13C #3CD152
monochromatic
#561C77 #7A28A8 #9C3CD1 #B56EDD #CE9FE8

Accessibility & contrast

On white

5.28
#9C3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9C3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CD1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CD1#FFFFFF#000000##FFFFFF
##9C3CD11.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#226DCE
Tritanopia (blue-blind)
#955D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3cd1;
/* rgb */ color: rgb(156, 60, 209);
/* oklch */ color: oklch(55.8% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#be7ae0',
    500: '#9c3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #9c3cd1;
$custom-light: #be7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3cd1",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 278.658,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.22187,
    "h": 310.6
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#9C3CD1
secondary
#ABD594
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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