#9C3DCE#9C3DCE

#9C3DCE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.218 H 311.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9C3DCE
RGBrgb(156, 61, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 70%, 81%)
CMYKcmyk(24.3%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.45, 61.87, -57.89)
CIE-LCHlch(45.45, 84.73, 316.90°)
OKLaboklab(55.71% 0.1438 -0.1637)
OKLCHoklch(55.71% 0.218 311.3)
XYZxyz(26.5175, 14.8623, 59.8524)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DCE #6FCE3D
analogous
#533DCE #9C3DCE #CE3DB8
triadic
#9C3DCE #CE9C3D #3DCE9C
tetradic
#9C3DCE #CE533D #6FCE3D #3DB8CE
square
#9C3DCE #CE533D #6FCE3D #3DB8CE
split-complementary
#9C3DCE #B8CE3D #3DCE53
monochromatic
#561D73 #7A29A4 #9C3DCE #B56EDA #CE9FE7

Accessibility & contrast

On white

5.29
#9C3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9C3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DCE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DCE#FFFFFF#000000##FFFFFF
##9C3DCE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#965D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3dce;
/* rgb */ color: rgb(156, 61, 206);
/* oklch */ color: oklch(55.7% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#be7ade',
    500: '#9c3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dce;
$custom-light: #be7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dce",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 279.31,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.21785,
    "h": 311.3
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#9C3DCE
secondary
#AAD394
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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