#9B4CD6#9B4CD6

#9B4CD6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.207 H 307.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B4CD6
RGBrgb(155, 76, 214)
HSLhsl(274, 63%, 57%)
HSVhsv(274, 64%, 84%)
CMYKcmyk(27.6%, 64.5%, 0%, 16.1%)
CIE-LABlab(48.25, 56.69, -57.97)
CIE-LCHlch(48.25, 81.08, 314.36°)
OKLaboklab(57.86% 0.1256 -0.164)
OKLCHoklch(57.86% 0.207 307.5)
XYZxyz(28.2371, 16.9928, 65.3977)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CD6 #87D64C
analogous
#564CD6 #9B4CD6 #D64CCC
triadic
#9B4CD6 #D69B4C #4CD69B
tetradic
#9B4CD6 #D6564C #87D64C #4CCCD6
square
#9B4CD6 #D6564C #87D64C #4CCCD6
split-complementary
#9B4CD6 #CCD64C #4CD656
monochromatic
#5B1F88 #7D2BBA #9B4CD6 #B77EE1 #D3B0ED

Accessibility & contrast

On white

4.77
#9B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9B4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CD6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CD6#FFFFFF#000000##FFFFFF
##9B4CD61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#3073D3
Tritanopia (blue-blind)
#92698A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4cd6;
/* rgb */ color: rgb(155, 76, 214);
/* oklch */ color: oklch(57.9% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#bd83e3',
    500: '#9b4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cd6;
$custom-light: #bd83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cd6",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 274.348,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.20657,
    "h": 307.5
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#9B4CD6
secondary
#BBDBA3
accent
#E64288
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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