#9B4EE5#9B4EE5

#9B4EE5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.220 H 303.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B4EE5
RGBrgb(155, 78, 229)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(32.3%, 65.9%, 0%, 10.2%)
CIE-LABlab(49.59, 59.17, -64.33)
CIE-LCHlch(49.59, 87.41, 312.61°)
OKLaboklab(59.13% 0.1221 -0.1827)
OKLCHoklch(59.13% 0.22 303.8)
XYZxyz(30.3816, 18.0746, 76.0017)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EE5 #98E54E
analogous
#4F4EE5 #9B4EE5 #E54EE3
triadic
#9B4EE5 #E59B4E #4EE59B
tetradic
#9B4EE5 #E54F4E #98E54E #4EE3E5
square
#9B4EE5 #E54F4E #98E54E #4EE3E5
split-complementary
#9B4EE5 #E3E54E #4EE54F
monochromatic
#5E18A1 #7D1FD6 #9B4EE5 #B983ED #D7B9F5

Accessibility & contrast

On white

4.55
#9B4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9B4EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4EE5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EE5#FFFFFF#000000##000000
##9B4EE51.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1576E2
Tritanopia (blue-blind)
#8D7093
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4ee5;
/* rgb */ color: rgb(155, 78, 229);
/* oklch */ color: oklch(59.1% 0.220 303.8);
Tailwind
colors: {
  custom: {
    50: '#be84ee',
    500: '#9b4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ee5;
$custom-light: #be84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ee5",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 270.596,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59131,
    "c": 0.21974,
    "h": 303.8
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#9B4EE5
secondary
#C7E4AA
accent
#D70F71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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