#9B4CE5#9B4CE5

#9B4CE5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.222 H 304.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B4CE5
RGBrgb(155, 76, 229)
HSLhsl(271, 75%, 60%)
HSVhsv(271, 67%, 90%)
CMYKcmyk(32.3%, 66.8%, 0%, 10.2%)
CIE-LABlab(49.25, 60.11, -64.88)
CIE-LCHlch(49.25, 88.45, 312.81°)
OKLaboklab(58.89% 0.1242 -0.1843)
OKLCHoklch(58.89% 0.222 304)
XYZxyz(30.2416, 17.7947, 75.9551)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CE5 #96E54C
analogous
#4E4CE5 #9B4CE5 #E54CE3
triadic
#9B4CE5 #E59B4C #4CE59B
tetradic
#9B4CE5 #E54E4C #96E54C #4CE3E5
square
#9B4CE5 #E54E4C #96E54C #4CE3E5
split-complementary
#9B4CE5 #E3E54C #4CE54E
monochromatic
#5E179F #7D1FD5 #9B4CE5 #B981ED #D7B7F5

Accessibility & contrast

On white

4.61
#9B4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B4CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CE5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CE5#FFFFFF#000000##FFFFFF
##9B4CE51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0D75E2
Tritanopia (blue-blind)
#8D6E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4ce5;
/* rgb */ color: rgb(155, 76, 229);
/* oklch */ color: oklch(58.9% 0.222 304.0);
Tailwind
colors: {
  custom: {
    50: '#be83ee',
    500: '#9b4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ce5;
$custom-light: #be83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ce5",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 270.98,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.22226,
    "h": 304
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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