#9C3DD9#9C3DD9

#9C3DD9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.228 H 308.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9C3DD9
RGBrgb(156, 61, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 72%, 85%)
CMYKcmyk(28.1%, 71.9%, 0%, 14.9%)
CIE-LABlab(46.20, 64.20, -62.99)
CIE-LCHlch(46.20, 89.94, 315.55°)
OKLaboklab(56.48% 0.1422 -0.1786)
OKLCHoklch(56.48% 0.228 308.5)
XYZxyz(27.9009, 15.4156, 67.1379)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DD9 #7AD93D
analogous
#4E3DD9 #9C3DD9 #D93DC8
triadic
#9C3DD9 #D99C3D #3DD99C
tetradic
#9C3DD9 #D94E3D #7AD93D #3DC8D9
square
#9C3DD9 #D94E3D #7AD93D #3DC8D9
split-complementary
#9C3DD9 #C8D93D #3DD94E
monochromatic
#591982 #7C24B5 #9C3DD9 #B670E3 #D0A3ED

Accessibility & contrast

On white

5.14
#9C3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9C3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DD9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DD9#FFFFFF#000000##FFFFFF
##9C3DD91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0D6ED6
Tritanopia (blue-blind)
#936188
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3dd9;
/* rgb */ color: rgb(156, 61, 217);
/* oklch */ color: oklch(56.5% 0.228 308.5);
Tailwind
colors: {
  custom: {
    50: '#be7be6',
    500: '#9c3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dd9;
$custom-light: #be7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dd9",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 276.538,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.22836,
    "h": 308.5
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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