#9B4DE8#9B4DE8

#9B4DE8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.224 H 303.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9B4DE8
RGBrgb(155, 77, 232)
HSLhsl(270, 77%, 61%)
HSVhsv(270, 67%, 91%)
CMYKcmyk(33.2%, 66.8%, 0%, 9%)
CIE-LABlab(49.62, 60.34, -65.97)
CIE-LCHlch(49.62, 89.40, 312.45°)
OKLaboklab(59.22% 0.1228 -0.1875)
OKLCHoklch(59.22% 0.224 303.2)
XYZxyz(30.7336, 18.1025, 78.2033)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DE8 #9AE84D
analogous
#4E4DE8 #9B4DE8 #E84DE7
triadic
#9B4DE8 #E89B4D #4DE89B
tetradic
#9B4DE8 #E84E4D #9AE84D #4DE7E8
square
#9B4DE8 #E84E4D #9AE84D #4DE7E8
split-complementary
#9B4DE8 #E7E84D #4DE84E
monochromatic
#5E15A5 #7D1CDB #9B4DE8 #B983EF #D8B9F6

Accessibility & contrast

On white

4.54
#9B4DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9B4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4DE8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DE8#FFFFFF#000000##000000
##9B4DE81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0176E5
Tritanopia (blue-blind)
#8C7094
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4de8;
/* rgb */ color: rgb(155, 77, 232);
/* oklch */ color: oklch(59.2% 0.224 303.2);
Tailwind
colors: {
  custom: {
    50: '#be84f0',
    500: '#9b4de8',
    950: '#000000',
  },
}
SCSS
$custom: #9b4de8;
$custom-light: #be84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4de8",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 270.194,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.22416,
    "h": 303.2
  },
  "luminance": 0.18103
}

Semantic roles & 50–950 ramp

primary
#9B4DE8
secondary
#C8E6AB
accent
#D90C72
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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