#9B4BE2#9B4BE2

#9B4BE2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.220 H 304.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B4BE2
RGBrgb(155, 75, 226)
HSLhsl(272, 72%, 59%)
HSVhsv(272, 67%, 89%)
CMYKcmyk(31.4%, 66.8%, 0%, 11.4%)
CIE-LABlab(48.87, 59.89, -63.79)
CIE-LCHlch(48.87, 87.49, 313.19°)
OKLaboklab(58.56% 0.1256 -0.1811)
OKLCHoklch(58.56% 0.22 304.7)
XYZxyz(29.7580, 17.4919, 73.7453)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BE2 #92E24B
analogous
#504BE2 #9B4BE2 #E24BDE
triadic
#9B4BE2 #E29B4B #4BE29B
tetradic
#9B4BE2 #E2504B #92E24B #4BDEE2
square
#9B4BE2 #E2504B #92E24B #4BDEE2
split-complementary
#9B4BE2 #DEE24B #4BE250
monochromatic
#5D199A #7D21CF #9B4BE2 #B880EA #D6B4F3

Accessibility & contrast

On white

4.67
#9B4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9B4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BE2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BE2#FFFFFF#000000##FFFFFF
##9B4BE21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#8E6D91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4be2;
/* rgb */ color: rgb(155, 75, 226);
/* oklch */ color: oklch(58.6% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#bd83ec',
    500: '#9b4be2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4be2;
$custom-light: #bd83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4be2",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 271.788,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.22039,
    "h": 304.7
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#9B4BE2
secondary
#C3E2A7
accent
#EF398E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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