#9B4DCC#9B4DCC

#9B4DCC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.195 H 309.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B4DCC
RGBrgb(155, 77, 204)
HSLhsl(277, 55%, 55%)
HSVhsv(277, 62%, 80%)
CMYKcmyk(24%, 62.3%, 0%, 20%)
CIE-LABlab(47.80, 53.97, -52.96)
CIE-LCHlch(47.80, 75.61, 315.54°)
OKLaboklab(57.33% 0.125 -0.1493)
OKLCHoklch(57.33% 0.195 309.9)
XYZxyz(27.0684, 16.6365, 58.9002)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DCC #7ECC4D
analogous
#5B4DCC #9B4DCC #CC4DBE
triadic
#9B4DCC #CC9B4D #4DCC9B
tetradic
#9B4DCC #CC5B4D #7ECC4D #4DBECC
square
#9B4DCC #CC5B4D #7ECC4D #4DBECC
split-complementary
#9B4DCC #BECC4D #4DCC5B
monochromatic
#59237B #7C31AB #9B4DCC #B67DDA #D0ACE7

Accessibility & contrast

On white

4.85
#9B4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9B4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DCC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DCC#FFFFFF#000000##FFFFFF
##9B4DCC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6ED0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#946685
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b4dcc;
/* rgb */ color: rgb(155, 77, 204);
/* oklch */ color: oklch(57.3% 0.195 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc83dc',
    500: '#9b4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dcc;
$custom-light: #bc83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dcc",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 276.85,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.1947,
    "h": 309.9
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#9B4DCC
secondary
#B4D5A0
accent
#DF4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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