#9B4CEB#9B4CEB

#9B4CEB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.229 H 302.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B4CEB
RGBrgb(155, 76, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 68%, 92%)
CMYKcmyk(34%, 67.7%, 0%, 7.8%)
CIE-LABlab(49.66, 61.50, -67.60)
CIE-LCHlch(49.66, 91.39, 312.30°)
OKLaboklab(59.31% 0.1235 -0.1923)
OKLCHoklch(59.31% 0.229 302.7)
XYZxyz(31.0939, 18.1356, 80.4435)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CEB #9CEB4C
analogous
#4C4CEB #9B4CEB #EA4CEB
triadic
#9B4CEB #EB9B4C #4CEB9B
tetradic
#9B4CEB #EB4C4C #9CEB4C #4CEBEA
square
#9B4CEB #EB4C4C #9CEB4C #4CEBEA
split-complementary
#9B4CEB #EBEA4C #4CEB4C
monochromatic
#5E13AA #7C19E1 #9B4CEB #BA83F1 #D9BAF7

Accessibility & contrast

On white

4.54
#9B4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4CEB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CEB#FFFFFF#000000##000000
##9B4CEB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8B7196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4ceb;
/* rgb */ color: rgb(155, 76, 235);
/* oklch */ color: oklch(59.3% 0.229 302.7);
Tailwind
colors: {
  custom: {
    50: '#be83f2',
    500: '#9b4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ceb;
$custom-light: #be83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ceb",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 269.811,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.22852,
    "h": 302.7
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#9B4CEB
secondary
#CAE7AB
accent
#DC0973
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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