#9B4DEC#9B4DEC

#9B4DEC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.228 H 302.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B4DEC
RGBrgb(155, 77, 236)
HSLhsl(269, 81%, 61%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(34.3%, 67.4%, 0%, 7.5%)
CIE-LABlab(49.90, 61.27, -67.78)
CIE-LCHlch(49.90, 91.37, 312.12°)
OKLaboklab(59.51% 0.1223 -0.1928)
OKLCHoklch(59.51% 0.228 302.4)
XYZxyz(31.3082, 18.3324, 81.2297)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DEC #9EEC4D
analogous
#4D4FEC #9B4DEC #EB4DEC
triadic
#9B4DEC #EC9B4D #4DEC9B
tetradic
#9B4DEC #EC4D4F #9EEC4D #4DECEB
square
#9B4DEC #EC4D4F #9EEC4D #4DECEB
split-complementary
#9B4DEC #ECEB4D #4FEC4D
monochromatic
#5E12AC #7C18E4 #9B4DEC #BA84F2 #D9BCF8

Accessibility & contrast

On white

4.50
#9B4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9B4DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4DEC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DEC#FFFFFF#000000##000000
##9B4DEC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8A7297
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b4dec;
/* rgb */ color: rgb(155, 77, 236);
/* oklch */ color: oklch(59.5% 0.228 302.4);
Tailwind
colors: {
  custom: {
    50: '#be84f3',
    500: '#9b4dec',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dec;
$custom-light: #be84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dec",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 269.434,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59505,
    "c": 0.22835,
    "h": 302.4
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#9B4DEC
secondary
#CBE8AD
accent
#DD0875
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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