#9B4BEC#9B4BEC

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

Color values

HEX#9B4BEC
RGBrgb(155, 75, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 68%, 93%)
CMYKcmyk(34.3%, 68.2%, 0%, 7.5%)
CIE-LABlab(49.56, 62.20, -68.31)
CIE-LCHlch(49.56, 92.39, 312.32°)
OKLaboklab(59.27% 0.1243 -0.1944)
OKLCHoklch(59.27% 0.231 302.6)
XYZxyz(31.1704, 18.0568, 81.1838)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BEC #9CEC4B
analogous
#4B4BEC #9B4BEC #EC4BEC
triadic
#9B4BEC #EC9B4B #4BEC9B
tetradic
#9B4BEC #EC4B4B #9CEC4B #4BECEC
square
#9B4BEC #EC4B4B #9CEC4B #4BECEC
split-complementary
#9B4BEC #ECEC4B #4BEC4B
monochromatic
#5E12AB #7C18E2 #9B4BEC #BA82F2 #D9BAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4BEC#FFFFFF#000000##000000
##9B4BEC1.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)
#0074F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#8B7196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4bec;
/* rgb */ color: rgb(155, 75, 236);
/* oklch */ color: oklch(59.3% 0.231 302.6);
Tailwind
colors: {
  custom: {
    50: '#be83f3',
    500: '#9b4bec',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bec;
$custom-light: #be83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bec",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 269.814,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.23076,
    "h": 302.6
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

primary
#9B4BEC
secondary
#CAE8AB
accent
#DD0873
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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