#9B4EE4#9B4EE4

#9B4EE4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.219 H 304.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B4EE4
RGBrgb(155, 78, 228)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 89%)
CMYKcmyk(32%, 65.8%, 0%, 10.6%)
CIE-LABlab(49.52, 58.94, -63.88)
CIE-LCHlch(49.52, 86.91, 312.70°)
OKLaboklab(59.06% 0.1222 -0.1814)
OKLCHoklch(59.06% 0.219 304)
XYZxyz(30.2424, 18.0189, 75.2685)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EE4 #97E44E
analogous
#504EE4 #9B4EE4 #E44EE2
triadic
#9B4EE4 #E49B4E #4EE49B
tetradic
#9B4EE4 #E4504E #97E44E #4EE2E4
square
#9B4EE4 #E4504E #97E44E #4EE2E4
split-complementary
#9B4EE4 #E2E44E #4EE450
monochromatic
#5E189F #7D20D4 #9B4EE4 #B983EC #D7B8F4

Accessibility & contrast

On white

4.56
#9B4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9B4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4EE4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EE4#FFFFFF#000000##000000
##9B4EE41.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1876E1
Tritanopia (blue-blind)
#8D6F93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4ee4;
/* rgb */ color: rgb(155, 78, 228);
/* oklch */ color: oklch(59.1% 0.219 304.0);
Tailwind
colors: {
  custom: {
    50: '#bd84ed',
    500: '#9b4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ee4;
$custom-light: #bd84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ee4",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 270.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.21868,
    "h": 304
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#9B4EE4
secondary
#C6E4AA
accent
#F03891
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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