#9B49CB#9B49CB

#9B49CB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.8% C 0.199 H 310.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9B49CB
RGBrgb(155, 73, 203)
HSLhsl(278, 56%, 54%)
HSVhsv(278, 64%, 80%)
CMYKcmyk(23.6%, 64%, 0%, 20.4%)
CIE-LABlab(47.03, 55.67, -53.61)
CIE-LCHlch(47.03, 77.29, 316.08°)
OKLaboklab(56.76% 0.1297 -0.1512)
OKLCHoklch(56.76% 0.199 310.6)
XYZxyz(26.6776, 16.0460, 58.1802)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49CB #79CB49
analogous
#5A49CB #9B49CB #CB49BA
triadic
#9B49CB #CB9B49 #49CB9B
tetradic
#9B49CB #CB5A49 #79CB49 #49BACB
square
#9B49CB #CB5A49 #79CB49 #49BACB
split-complementary
#9B49CB #BACB49 #49CB5A
monochromatic
#582277 #7B30A7 #9B49CB #B579D9 #CFA8E6

Accessibility & contrast

On white

4.99
#9B49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9B49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49CB#FFFFFF#000000##FFFFFF
##9B49CB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#956384
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b49cb;
/* rgb */ color: rgb(155, 73, 203);
/* oklch */ color: oklch(56.8% 0.199 310.6);
Tailwind
colors: {
  custom: {
    50: '#bc81db',
    500: '#9b49cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b49cb;
$custom-light: #bc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49cb",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 277.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.19921,
    "h": 310.6
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#9B49CB
secondary
#B1D49C
accent
#DF4980
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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