#9B4DE5#9B4DE5

#9B4DE5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.221 H 303.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B4DE5
RGBrgb(155, 77, 229)
HSLhsl(271, 75%, 60%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(32.3%, 66.4%, 0%, 10.2%)
CIE-LABlab(49.42, 59.64, -64.61)
CIE-LCHlch(49.42, 87.93, 312.71°)
OKLaboklab(59.01% 0.1232 -0.1835)
OKLCHoklch(59.01% 0.221 303.9)
XYZxyz(30.3111, 17.9335, 75.9782)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DE5 #97E54D
analogous
#4F4DE5 #9B4DE5 #E54DE3
triadic
#9B4DE5 #E59B4D #4DE59B
tetradic
#9B4DE5 #E54F4D #97E54D #4DE3E5
square
#9B4DE5 #E54F4D #97E54D #4DE3E5
split-complementary
#9B4DE5 #E3E54D #4DE54F
monochromatic
#5E17A0 #7D1FD6 #9B4DE5 #B982ED #D7B8F5

Accessibility & contrast

On white

4.58
#9B4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9B4DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4DE5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DE5#FFFFFF#000000##000000
##9B4DE51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1175E2
Tritanopia (blue-blind)
#8D6F93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4de5;
/* rgb */ color: rgb(155, 77, 229);
/* oklch */ color: oklch(59.0% 0.221 303.9);
Tailwind
colors: {
  custom: {
    50: '#be84ee',
    500: '#9b4de5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4de5;
$custom-light: #be84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4de5",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 270.789,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.22101,
    "h": 303.9
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#9B4DE5
secondary
#C6E4AA
accent
#F13791
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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