#9C4CD2#9C4CD2

#9C4CD2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.203 H 308.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9C4CD2
RGBrgb(156, 76, 210)
HSLhsl(276, 60%, 56%)
HSVhsv(276, 64%, 82%)
CMYKcmyk(25.7%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.12, 56.01, -55.88)
CIE-LCHlch(48.12, 79.12, 315.07°)
OKLaboklab(57.71% 0.1272 -0.1578)
OKLCHoklch(57.71% 0.203 308.9)
XYZxyz(27.9253, 16.8904, 62.7493)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CD2 #82D24C
analogous
#594CD2 #9C4CD2 #D24CC5
triadic
#9C4CD2 #D29C4C #4CD29C
tetradic
#9C4CD2 #D2594C #82D24C #4CC5D2
square
#9C4CD2 #D2594C #82D24C #4CC5D2
split-complementary
#9C4CD2 #C5D24C #4CD259
monochromatic
#5B2183 #7D2DB4 #9C4CD2 #B77DDE #D2AEEB

Accessibility & contrast

On white

4.80
#9C4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CD2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CD2#FFFFFF#000000##FFFFFF
##9C4CD21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#946788
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4cd2;
/* rgb */ color: rgb(156, 76, 210);
/* oklch */ color: oklch(57.7% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd83e0',
    500: '#9c4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cd2;
$custom-light: #bd83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cd2",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 275.821,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.20268,
    "h": 308.9
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#9C4CD2
secondary
#B8D9A1
accent
#E34585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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