#9B4DCD#9B4DCD

#9B4DCD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.4% C 0.196 H 309.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9B4DCD
RGBrgb(155, 77, 205)
HSLhsl(277, 56%, 55%)
HSVhsv(277, 62%, 80%)
CMYKcmyk(24.4%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.86, 54.19, -53.44)
CIE-LCHlch(47.86, 76.11, 315.40°)
OKLaboklab(57.39% 0.1249 -0.1507)
OKLCHoklch(57.39% 0.196 309.7)
XYZxyz(27.1887, 16.6846, 59.5339)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DCD #7FCD4D
analogous
#5B4DCD #9B4DCD #CD4DBF
triadic
#9B4DCD #CD9B4D #4DCD9B
tetradic
#9B4DCD #CD5B4D #7FCD4D #4DBFCD
square
#9B4DCD #CD5B4D #7FCD4D #4DBFCD
split-complementary
#9B4DCD #BFCD4D #4DCD5B
monochromatic
#5A237D #7C30AC #9B4DCD #B67DDA #D1ADE8

Accessibility & contrast

On white

4.84
#9B4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DCD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DCD#FFFFFF#000000##FFFFFF
##9B4DCD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#946686
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4dcd;
/* rgb */ color: rgb(155, 77, 205);
/* oklch */ color: oklch(57.4% 0.196 309.7);
Tailwind
colors: {
  custom: {
    50: '#bc83dd',
    500: '#9b4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dcd;
$custom-light: #bc83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dcd",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 276.563,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.19575,
    "h": 309.7
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#9B4DCD
secondary
#B5D6A0
accent
#DF4883
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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