#9B4EEB#9B4EEB

#9B4EEB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.226 H 302.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9B4EEB
RGBrgb(155, 78, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 67%, 92%)
CMYKcmyk(34%, 66.8%, 0%, 7.8%)
CIE-LABlab(50.00, 60.57, -67.05)
CIE-LCHlch(50.00, 90.36, 312.09°)
OKLaboklab(59.55% 0.1214 -0.1907)
OKLCHoklch(59.55% 0.226 302.5)
XYZxyz(31.2338, 18.4154, 80.4902)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EEB #9EEB4E
analogous
#4E50EB #9B4EEB #EA4EEB
triadic
#9B4EEB #EB9B4E #4EEB9B
tetradic
#9B4EEB #EB4E50 #9EEB4E #4EEBEA
square
#9B4EEB #EB4E50 #9EEB4E #4EEBEA
split-complementary
#9B4EEB #EBEA4E #50EB4E
monochromatic
#5E13AB #7C1AE2 #9B4EEB #BA85F1 #D9BCF7

Accessibility & contrast

On white

4.48
#9B4EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9B4EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4EEB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EEB#FFFFFF#000000##000000
##9B4EEB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8B7296
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b4eeb;
/* rgb */ color: rgb(155, 78, 235);
/* oklch */ color: oklch(59.6% 0.226 302.5);
Tailwind
colors: {
  custom: {
    50: '#be85f2',
    500: '#9b4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4eeb;
$custom-light: #be85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4eeb",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 269.427,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.22607,
    "h": 302.5
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#9B4EEB
secondary
#CBE8AD
accent
#DC0975
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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