#9C3DCC#9C3DCC

#9C3DCC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.216 H 311.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9C3DCC
RGBrgb(156, 61, 204)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23.5%, 70.1%, 0%, 20%)
CIE-LABlab(45.31, 61.45, -56.96)
CIE-LCHlch(45.31, 83.78, 317.17°)
OKLaboklab(55.57% 0.144 -0.1609)
OKLCHoklch(55.57% 0.216 311.8)
XYZxyz(26.2761, 14.7657, 58.5809)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DCC #6DCC3D
analogous
#553DCC #9C3DCC #CC3DB5
triadic
#9C3DCC #CC9C3D #3DCC9C
tetradic
#9C3DCC #CC553D #6DCC3D #3DB5CC
square
#9C3DCC #CC553D #6DCC3D #3DB5CC
split-complementary
#9C3DCC #B5CC3D #3DCC55
monochromatic
#551E71 #792AA1 #9C3DCC #B56DD9 #CD9EE5

Accessibility & contrast

On white

5.31
#9C3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9C3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DCC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DCC#FFFFFF#000000##FFFFFF
##9C3DCC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#965C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c3dcc;
/* rgb */ color: rgb(156, 61, 204);
/* oklch */ color: oklch(55.6% 0.216 311.8);
Tailwind
colors: {
  custom: {
    50: '#be7adc',
    500: '#9c3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dcc;
$custom-light: #be7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dcc",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 279.86,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.21594,
    "h": 311.8
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#9C3DCC
secondary
#A8D293
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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