#9C4CDA#9C4CDA

#9C4CDA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.211 H 306.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9C4CDA
RGBrgb(156, 76, 218)
HSLhsl(274, 66%, 58%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(28.4%, 65.1%, 0%, 14.5%)
CIE-LABlab(48.63, 57.80, -59.62)
CIE-LCHlch(48.63, 83.04, 314.11°)
OKLaboklab(58.24% 0.1266 -0.1688)
OKLCHoklch(58.24% 0.211 306.9)
XYZxyz(28.9470, 17.2991, 68.1302)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CDA #8ADA4C
analogous
#554CDA #9C4CDA #DA4CD1
triadic
#9C4CDA #DA9C4C #4CDA9C
tetradic
#9C4CDA #DA554C #8ADA4C #4CD1DA
square
#9C4CDA #DA554C #8ADA4C #4CD1DA
split-complementary
#9C4CDA #D1DA4C #4CDA55
monochromatic
#5D1D8E #7E28C1 #9C4CDA #B87FE4 #D4B1EF

Accessibility & contrast

On white

4.71
#9C4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9C4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CDA#FFFFFF#000000##FFFFFF
##9C4CDA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2B74D7
Tritanopia (blue-blind)
#926A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4cda;
/* rgb */ color: rgb(156, 76, 218);
/* oklch */ color: oklch(58.2% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#be83e6',
    500: '#9c4cda',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cda;
$custom-light: #be83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cda",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 273.803,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.21102,
    "h": 306.9
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#9C4CDA
secondary
#BDDDA4
accent
#E93F89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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