#9B4BE6#9B4BE6

#9B4BE6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.225 H 303.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9B4BE6
RGBrgb(155, 75, 230)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 67%, 90%)
CMYKcmyk(32.6%, 67.4%, 0%, 9.8%)
CIE-LABlab(49.15, 60.81, -65.61)
CIE-LCHlch(49.15, 89.45, 312.82°)
OKLaboklab(58.84% 0.1251 -0.1864)
OKLCHoklch(58.84% 0.225 303.9)
XYZxyz(30.3133, 17.7140, 76.6697)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BE6 #96E64B
analogous
#4E4BE6 #9B4BE6 #E64BE3
triadic
#9B4BE6 #E69B4B #4BE69B
tetradic
#9B4BE6 #E64E4B #96E64B #4BE3E6
square
#9B4BE6 #E64E4B #96E64B #4BE3E6
split-complementary
#9B4BE6 #E3E64B #4BE64E
monochromatic
#5E16A0 #7D1ED6 #9B4BE6 #B981ED #D7B6F5

Accessibility & contrast

On white

4.62
#9B4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9B4BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BE6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BE6#FFFFFF#000000##FFFFFF
##9B4BE61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#8D6E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4be6;
/* rgb */ color: rgb(155, 75, 230);
/* oklch */ color: oklch(58.8% 0.225 303.9);
Tailwind
colors: {
  custom: {
    50: '#be83ef',
    500: '#9b4be6',
    950: '#000000',
  },
}
SCSS
$custom: #9b4be6;
$custom-light: #be83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4be6",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 270.968,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.22454,
    "h": 303.9
  },
  "luminance": 0.17714
}

Semantic roles & 50–950 ramp

primary
#9B4BE6
secondary
#C5E4A8
accent
#F23691
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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