#9C3DD3#9C3DD3

#9C3DD3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.223 H 310.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C3DD3
RGBrgb(156, 61, 211)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(26.1%, 71.1%, 0%, 17.3%)
CIE-LABlab(45.78, 62.92, -60.22)
CIE-LCHlch(45.78, 87.10, 316.25°)
OKLaboklab(56.05% 0.1431 -0.1705)
OKLCHoklch(56.05% 0.223 310)
XYZxyz(27.1346, 15.1091, 63.1023)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DD3 #74D33D
analogous
#513DD3 #9C3DD3 #D33DBF
triadic
#9C3DD3 #D39C3D #3DD39C
tetradic
#9C3DD3 #D3513D #74D33D #3DBFD3
square
#9C3DD3 #D3513D #74D33D #3DBFD3
split-complementary
#9C3DD3 #BFD33D #3DD351
monochromatic
#571C7A #7B27AC #9C3DD3 #B56FDE #CFA1EA

Accessibility & contrast

On white

5.22
#9C3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9C3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DD3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DD3#FFFFFF#000000##FFFFFF
##9C3DD31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#1F6ED0
Tritanopia (blue-blind)
#945F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3dd3;
/* rgb */ color: rgb(156, 61, 211);
/* oklch */ color: oklch(56.1% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#be7be1',
    500: '#9c3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #9c3dd3;
$custom-light: #be7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3dd3",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 278,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.22262,
    "h": 310
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#9C3DD3
secondary
#ADD696
accent
#E6427E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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