#9C4BD2#9C4BD2

#9C4BD2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.204 H 309.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9C4BD2
RGBrgb(156, 75, 210)
HSLhsl(276, 60%, 56%)
HSVhsv(276, 64%, 82%)
CMYKcmyk(25.7%, 64.3%, 0%, 17.6%)
CIE-LABlab(47.95, 56.49, -56.16)
CIE-LCHlch(47.95, 79.65, 315.17°)
OKLaboklab(57.58% 0.1283 -0.1587)
OKLCHoklch(57.58% 0.204 309)
XYZxyz(27.8569, 16.7537, 62.7266)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BD2 #81D24B
analogous
#584BD2 #9C4BD2 #D24BC4
triadic
#9C4BD2 #D29C4B #4BD29C
tetradic
#9C4BD2 #D2584B #81D24B #4BC4D2
square
#9C4BD2 #D2584B #81D24B #4BC4D2
split-complementary
#9C4BD2 #C4D24B #4BD258
monochromatic
#5B2182 #7D2DB3 #9C4BD2 #B77CDE #D2ADEA

Accessibility & contrast

On white

4.83
#9C4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9C4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BD2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BD2#FFFFFF#000000##FFFFFF
##9C4BD21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c4bd2;
/* rgb */ color: rgb(156, 75, 210);
/* oklch */ color: oklch(57.6% 0.204 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd82e0',
    500: '#9c4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bd2;
$custom-light: #bd82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bd2",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 276,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.20404,
    "h": 309
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#9C4BD2
secondary
#B7D8A0
accent
#E34584
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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