#9C4CD7#9C4CD7

#9C4CD7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.208 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9C4CD7
RGBrgb(156, 76, 215)
HSLhsl(275, 63%, 57%)
HSVhsv(275, 65%, 84%)
CMYKcmyk(27.4%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.44, 57.13, -58.23)
CIE-LCHlch(48.44, 81.57, 314.45°)
OKLaboklab(58.04% 0.1268 -0.1647)
OKLCHoklch(58.04% 0.208 307.6)
XYZxyz(28.5579, 17.1435, 66.0814)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CD7 #87D74C
analogous
#574CD7 #9C4CD7 #D74CCD
triadic
#9C4CD7 #D79C4C #4CD79C
tetradic
#9C4CD7 #D7574C #87D74C #4CCDD7
square
#9C4CD7 #D7574C #87D74C #4CCDD7
split-complementary
#9C4CD7 #CDD74C #4CD757
monochromatic
#5C1F8A #7E2ABC #9C4CD7 #B87EE2 #D3B0ED

Accessibility & contrast

On white

4.74
#9C4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9C4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CD7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CD7#FFFFFF#000000##FFFFFF
##9C4CD71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#93698B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4cd7;
/* rgb */ color: rgb(156, 76, 215);
/* oklch */ color: oklch(58.0% 0.208 307.6);
Tailwind
colors: {
  custom: {
    50: '#bd83e4',
    500: '#9c4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cd7;
$custom-light: #bd83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cd7",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 274.532,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.20789,
    "h": 307.6
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#9C4CD7
secondary
#BBDCA3
accent
#E64187
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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