#9C3DD7#9C3DD7

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

Color values

HEX#9C3DD7
RGBrgb(156, 61, 215)
HSLhsl(277, 66%, 54%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27.4%, 71.6%, 0%, 15.7%)
CIE-LABlab(46.06, 63.77, -62.07)
CIE-LCHlch(46.06, 89.00, 315.78°)
OKLaboklab(56.34% 0.1426 -0.1759)
OKLCHoklch(56.34% 0.226 309)
XYZxyz(27.6423, 15.3122, 65.7762)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DD7 #78D73D
analogous
#4F3DD7 #9C3DD7 #D73DC5
triadic
#9C3DD7 #D79C3D #3DD79C
tetradic
#9C3DD7 #D74F3D #78D73D #3DC5D7
square
#9C3DD7 #D74F3D #78D73D #3DC5D7
split-complementary
#9C3DD7 #C5D73D #3DD74F
monochromatic
#591A7F #7C25B2 #9C3DD7 #B670E1 #D0A2EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C3DD7#FFFFFF#000000##FFFFFF
##9C3DD71.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)
#0069DB
Deuteranopia (green-blind)
#156ED4
Tritanopia (blue-blind)
#936087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3dd7;
/* rgb */ color: rgb(156, 61, 215);
/* oklch */ color: oklch(56.3% 0.226 309.0);
Tailwind
colors: {
  custom: {
    50: '#be7be4',
    500: '#9c3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dd7;
$custom-light: #be7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dd7",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 277.013,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.22644,
    "h": 309
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#9C3DD7
secondary
#B0D997
accent
#E93F80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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