#9B4CCC#9B4CCC

#9B4CCC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.2% C 0.196 H 310.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9B4CCC
RGBrgb(155, 76, 204)
HSLhsl(277, 56%, 55%)
HSVhsv(277, 63%, 80%)
CMYKcmyk(24%, 62.7%, 0%, 20%)
CIE-LABlab(47.62, 54.45, -53.25)
CIE-LCHlch(47.62, 76.16, 315.64°)
OKLaboklab(57.2% 0.1261 -0.1501)
OKLCHoklch(57.2% 0.196 310)
XYZxyz(26.9990, 16.4976, 58.8771)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CCC #7DCC4C
analogous
#5B4CCC #9B4CCC #CC4CBD
triadic
#9B4CCC #CC9B4C #4CCC9B
tetradic
#9B4CCC #CC5B4C #7DCC4C #4CBDCC
square
#9B4CCC #CC5B4C #7DCC4C #4CBDCC
split-complementary
#9B4CCC #BDCC4C #4CCC5B
monochromatic
#59237B #7C31AA #9B4CCC #B67CDA #D0ABE7

Accessibility & contrast

On white

4.88
#9B4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9B4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CCC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CCC#FFFFFF#000000##FFFFFF
##9B4CCC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086DD0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#946585
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b4ccc;
/* rgb */ color: rgb(155, 76, 204);
/* oklch */ color: oklch(57.2% 0.196 310.0);
Tailwind
colors: {
  custom: {
    50: '#bc83dc',
    500: '#9b4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ccc;
$custom-light: #bc83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ccc",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 277.031,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.1961,
    "h": 310
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#9B4CCC
secondary
#B4D59F
accent
#DF4982
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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