#9B49C8#9B49C8

#9B49C8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.196 H 311.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B49C8
RGBrgb(155, 73, 200)
HSLhsl(279, 54%, 54%)
HSVhsv(279, 64%, 78%)
CMYKcmyk(22.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(46.85, 55.02, -52.18)
CIE-LCHlch(46.85, 75.83, 316.51°)
OKLaboklab(56.56% 0.1298 -0.147)
OKLCHoklch(56.56% 0.196 311.5)
XYZxyz(26.3235, 15.9044, 56.3156)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49C8 #76C849
analogous
#5B49C8 #9B49C8 #C849B5
triadic
#9B49C8 #C89B49 #49C89B
tetradic
#9B49C8 #C85B49 #76C849 #49B5C8
square
#9B49C8 #C85B49 #76C849 #49B5C8
split-complementary
#9B49C8 #B5C849 #49C85B
monochromatic
#572374 #7A31A3 #9B49C8 #B578D6 #CFA7E4

Accessibility & contrast

On white

5.02
#9B49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9B49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49C8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49C8#FFFFFF#000000##FFFFFF
##9B49C81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#966282
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b49c8;
/* rgb */ color: rgb(155, 73, 200);
/* oklch */ color: oklch(56.6% 0.196 311.5);
Tailwind
colors: {
  custom: {
    50: '#bc81d9',
    500: '#9b49c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b49c8;
$custom-light: #bc81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49c8",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 278.74,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.19613,
    "h": 311.5
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#9B49C8
secondary
#AED29B
accent
#DD4B7F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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