#9B4CEC#9B4CEC

#9B4CEC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.230 H 302.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9B4CEC
RGBrgb(155, 76, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 68%, 93%)
CMYKcmyk(34.3%, 67.8%, 0%, 7.5%)
CIE-LABlab(49.73, 61.74, -68.05)
CIE-LCHlch(49.73, 91.88, 312.22°)
OKLaboklab(59.39% 0.1233 -0.1936)
OKLCHoklch(59.39% 0.23 302.5)
XYZxyz(31.2388, 18.1935, 81.2066)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CEC #9DEC4C
analogous
#4C4DEC #9B4CEC #EB4CEC
triadic
#9B4CEC #EC9B4C #4CEC9B
tetradic
#9B4CEC #EC4C4D #9DEC4C #4CECEB
square
#9B4CEC #EC4C4D #9DEC4C #4CECEB
split-complementary
#9B4CEC #ECEB4C #4DEC4C
monochromatic
#5E12AB #7C18E3 #9B4CEC #BA83F2 #D9BBF8

Accessibility & contrast

On white

4.53
#9B4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9B4CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4CEC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CEC#FFFFFF#000000##000000
##9B4CEC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8A7196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4cec;
/* rgb */ color: rgb(155, 76, 236);
/* oklch */ color: oklch(59.4% 0.230 302.5);
Tailwind
colors: {
  custom: {
    50: '#be84f3',
    500: '#9b4cec',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cec;
$custom-light: #be84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cec",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 269.625,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.22955,
    "h": 302.5
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#9B4CEC
secondary
#CAE8AC
accent
#DD0874
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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