#9B4DE4#9B4DE4

#9B4DE4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.220 H 304.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B4DE4
RGBrgb(155, 77, 228)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 89%)
CMYKcmyk(32%, 66.2%, 0%, 10.6%)
CIE-LABlab(49.35, 59.41, -64.15)
CIE-LCHlch(49.35, 87.44, 312.80°)
OKLaboklab(58.94% 0.1233 -0.1822)
OKLCHoklch(58.94% 0.22 304.1)
XYZxyz(30.1719, 17.8778, 75.2450)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DE4 #96E44D
analogous
#4F4DE4 #9B4DE4 #E44DE2
triadic
#9B4DE4 #E49B4D #4DE49B
tetradic
#9B4DE4 #E44F4D #96E44D #4DE2E4
square
#9B4DE4 #E44F4D #96E44D #4DE2E4
split-complementary
#9B4DE4 #E2E44D #4DE44F
monochromatic
#5E189F #7D20D4 #9B4DE4 #B982EC #D7B7F4

Accessibility & contrast

On white

4.59
#9B4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9B4DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DE4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DE4#FFFFFF#000000##FFFFFF
##9B4DE41.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b4de4;
/* rgb */ color: rgb(155, 77, 228);
/* oklch */ color: oklch(58.9% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#be84ed',
    500: '#9b4de4',
    950: '#000000',
  },
}
SCSS
$custom: #9b4de4;
$custom-light: #be84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4de4",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 270.993,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.21995,
    "h": 304.1
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#9B4DE4
secondary
#C5E4A9
accent
#F03791
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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