#9C3CD9#9C3CD9

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

Color values

HEX#9C3CD9
RGBrgb(156, 60, 217)
HSLhsl(277, 67%, 54%)
HSVhsv(277, 72%, 85%)
CMYKcmyk(28.1%, 72.4%, 0%, 14.9%)
CIE-LABlab(46.06, 64.61, -63.22)
CIE-LCHlch(46.06, 90.39, 315.62°)
OKLaboklab(56.38% 0.1432 -0.1793)
OKLCHoklch(56.38% 0.229 308.6)
XYZxyz(27.8480, 15.3099, 67.1203)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CD9 #79D93C
analogous
#4E3CD9 #9C3CD9 #D93CC8
triadic
#9C3CD9 #D99C3C #3CD99C
tetradic
#9C3CD9 #D94E3C #79D93C #3CC8D9
square
#9C3CD9 #D94E3C #79D93C #3CC8D9
split-complementary
#9C3CD9 #C8D93C #3CD94E
monochromatic
#591981 #7C23B5 #9C3CD9 #B66FE3 #D0A2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C3CD9#FFFFFF#000000##FFFFFF
##9C3CD91.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)
#0069DD
Deuteranopia (green-blind)
#096ED6
Tritanopia (blue-blind)
#936187
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3cd9;
/* rgb */ color: rgb(156, 60, 217);
/* oklch */ color: oklch(56.4% 0.229 308.6);
Tailwind
colors: {
  custom: {
    50: '#be7ae6',
    500: '#9c3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c3cd9;
$custom-light: #be7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3cd9",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 276.688,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.22947,
    "h": 308.6
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#9C3CD9
secondary
#B1DA97
accent
#EA3E81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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