#9B4EED#9B4EED

#9B4EED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.228 H 302.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B4EED
RGBrgb(155, 78, 237)
HSLhsl(269, 82%, 62%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(34.6%, 67.1%, 0%, 7.1%)
CIE-LABlab(50.13, 61.04, -67.95)
CIE-LCHlch(50.13, 91.34, 311.93°)
OKLaboklab(59.7% 0.1212 -0.1933)
OKLCHoklch(59.7% 0.228 302.1)
XYZxyz(31.5244, 18.5317, 82.0205)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EED #A0ED4E
analogous
#4E51ED #9B4EED #EB4EED
triadic
#9B4EED #ED9B4E #4EED9B
tetradic
#9B4EED #ED4E51 #A0ED4E #4EEDEB
square
#9B4EED #ED4E51 #A0ED4E #4EEDEB
split-complementary
#9B4EED #EDEB4E #51ED4E
monochromatic
#5E12AF #7C17E6 #9B4EED #BA86F3 #DABDF8

Accessibility & contrast

On white

4.46
#9B4EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9B4EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4EED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EED#FFFFFF#000000##000000
##9B4EED1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#8A7397
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b4eed;
/* rgb */ color: rgb(155, 78, 237);
/* oklch */ color: oklch(59.7% 0.228 302.1);
Tailwind
colors: {
  custom: {
    50: '#be85f4',
    500: '#9b4eed',
    950: '#000000',
  },
}
SCSS
$custom: #9b4eed;
$custom-light: #be85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4eed",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 269.057,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.22818,
    "h": 302.1
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#9B4EED
secondary
#CCE9AE
accent
#DE0876
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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