#9B4BE8#9B4BE8

#9B4BE8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.227 H 303.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B4BE8
RGBrgb(155, 75, 232)
HSLhsl(271, 77%, 60%)
HSVhsv(271, 68%, 91%)
CMYKcmyk(33.2%, 67.7%, 0%, 9%)
CIE-LABlab(49.29, 61.27, -66.51)
CIE-LCHlch(49.29, 90.43, 312.65°)
OKLaboklab(58.98% 0.1249 -0.1891)
OKLCHoklch(58.98% 0.227 303.4)
XYZxyz(30.5958, 17.8269, 78.1574)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BE8 #98E84B
analogous
#4C4BE8 #9B4BE8 #E84BE7
triadic
#9B4BE8 #E89B4B #4BE89B
tetradic
#9B4BE8 #E84C4B #98E84B #4BE7E8
square
#9B4BE8 #E84C4B #98E84B #4BE7E8
split-complementary
#9B4BE8 #E7E84B #4BE84C
monochromatic
#5E15A4 #7D1CDA #9B4BE8 #B981EF #D7B8F6

Accessibility & contrast

On white

4.60
#9B4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9B4BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BE8#FFFFFF#000000##FFFFFF
##9B4BE81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#8C6F94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4be8;
/* rgb */ color: rgb(155, 75, 232);
/* oklch */ color: oklch(59.0% 0.227 303.4);
Tailwind
colors: {
  custom: {
    50: '#be83f0',
    500: '#9b4be8',
    950: '#000000',
  },
}
SCSS
$custom: #9b4be8;
$custom-light: #be83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4be8",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 270.573,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.22661,
    "h": 303.4
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#9B4BE8
secondary
#C7E6A9
accent
#DA0C71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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