#9B4DEB#9B4DEB

#9B4DEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.227 H 302.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9B4DEB
RGBrgb(155, 77, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 67%, 92%)
CMYKcmyk(34%, 67.2%, 0%, 7.8%)
CIE-LABlab(49.83, 61.04, -67.33)
CIE-LCHlch(49.83, 90.88, 312.20°)
OKLaboklab(59.43% 0.1224 -0.1915)
OKLCHoklch(59.43% 0.227 302.6)
XYZxyz(31.1633, 18.2744, 80.4667)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DEB #9DEB4D
analogous
#4D4EEB #9B4DEB #EA4DEB
triadic
#9B4DEB #EB9B4D #4DEB9B
tetradic
#9B4DEB #EB4D4E #9DEB4D #4DEBEA
square
#9B4DEB #EB4D4E #9DEB4D #4DEBEA
split-complementary
#9B4DEB #EBEA4D #4EEB4D
monochromatic
#5E13AA #7C19E1 #9B4DEB #BA84F1 #D9BBF7

Accessibility & contrast

On white

4.51
#9B4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9B4DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4DEB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DEB#FFFFFF#000000##000000
##9B4DEB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8B7196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4deb;
/* rgb */ color: rgb(155, 77, 235);
/* oklch */ color: oklch(59.4% 0.227 302.6);
Tailwind
colors: {
  custom: {
    50: '#be84f2',
    500: '#9b4deb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4deb;
$custom-light: #be84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4deb",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 269.62,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.2273,
    "h": 302.6
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#9B4DEB
secondary
#CAE8AC
accent
#DC0974
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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