#9C4CDF#9C4CDF

#9C4CDF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.216 H 305.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C4CDF
RGBrgb(156, 76, 223)
HSLhsl(273, 70%, 59%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(30%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.96, 58.94, -61.94)
CIE-LCHlch(48.96, 85.50, 313.58°)
OKLaboklab(58.58% 0.1262 -0.1756)
OKLCHoklch(58.58% 0.216 305.7)
XYZxyz(29.6111, 17.5647, 71.6281)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CDF #8FDF4C
analogous
#524CDF #9C4CDF #DF4CD8
triadic
#9C4CDF #DF9C4C #4CDF9C
tetradic
#9C4CDF #DF524C #8FDF4C #4CD8DF
square
#9C4CDF #DF524C #8FDF4C #4CD8DF
split-complementary
#9C4CDF #D8DF4C #4CDF52
monochromatic
#5E1B96 #7E24CA #9C4CDF #B980E8 #D5B4F2

Accessibility & contrast

On white

4.65
#9C4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9C4CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CDF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CDF#FFFFFF#000000##FFFFFF
##9C4CDF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2275DC
Tritanopia (blue-blind)
#906C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4cdf;
/* rgb */ color: rgb(156, 76, 223);
/* oklch */ color: oklch(58.6% 0.216 305.7);
Tailwind
colors: {
  custom: {
    50: '#be83ea',
    500: '#9c4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cdf;
$custom-light: #be83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cdf",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 272.653,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.21623,
    "h": 305.7
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#9C4CDF
secondary
#C1E0A6
accent
#EC3B8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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