#9B4CE4#9B4CE4

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

Color values

HEX#9B4CE4
RGBrgb(155, 76, 228)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 67%, 89%)
CMYKcmyk(32%, 66.7%, 0%, 10.6%)
CIE-LABlab(49.18, 59.88, -64.43)
CIE-LCHlch(49.18, 87.96, 312.90°)
OKLaboklab(58.82% 0.1243 -0.183)
OKLCHoklch(58.82% 0.221 304.2)
XYZxyz(30.1024, 17.7390, 75.2218)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CE4 #95E44C
analogous
#4F4CE4 #9B4CE4 #E44CE1
triadic
#9B4CE4 #E49B4C #4CE49B
tetradic
#9B4CE4 #E44F4C #95E44C #4CE1E4
square
#9B4CE4 #E44F4C #95E44C #4CE1E4
split-complementary
#9B4CE4 #E1E44C #4CE44F
monochromatic
#5D189E #7D20D3 #9B4CE4 #B981EC #D6B6F4

Accessibility & contrast

On white

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

On black

4.55
#9B4CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9B4CE4#FFFFFF#000000##FFFFFF
##9B4CE41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#1175E1
Tritanopia (blue-blind)
#8D6E92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4ce4;
/* rgb */ color: rgb(155, 76, 228);
/* oklch */ color: oklch(58.8% 0.221 304.2);
Tailwind
colors: {
  custom: {
    50: '#be83ed',
    500: '#9b4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ce4;
$custom-light: #be83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ce4",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 271.184,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.22122,
    "h": 304.2
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#9B4CE4
secondary
#C5E3A8
accent
#F03790
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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