#9B49CA#9B49CA

#9B49CA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.7% C 0.198 H 310.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B49CA
RGBrgb(155, 73, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 64%, 79%)
CMYKcmyk(23.3%, 63.9%, 0%, 20.8%)
CIE-LABlab(46.97, 55.45, -53.14)
CIE-LCHlch(46.97, 76.80, 316.22°)
OKLaboklab(56.69% 0.1298 -0.1498)
OKLCHoklch(56.69% 0.198 310.9)
XYZxyz(26.5588, 15.9985, 57.5546)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49CA #78CA49
analogous
#5B49CA #9B49CA #CA49B8
triadic
#9B49CA #CA9B49 #49CA9B
tetradic
#9B49CA #CA5B49 #78CA49 #49B8CA
square
#9B49CA #CA5B49 #78CA49 #49B8CA
split-complementary
#9B49CA #B8CA49 #49CA5B
monochromatic
#582276 #7B30A6 #9B49CA #B578D8 #CFA8E6

Accessibility & contrast

On white

5.00
#9B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9B49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49CA#FFFFFF#000000##FFFFFF
##9B49CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#956383
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b49ca;
/* rgb */ color: rgb(155, 73, 202);
/* oklch */ color: oklch(56.7% 0.198 310.9);
Tailwind
colors: {
  custom: {
    50: '#bc81db',
    500: '#9b49ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b49ca;
$custom-light: #bc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49ca",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 278.14,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.19818,
    "h": 310.9
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#9B49CA
secondary
#B0D39C
accent
#DE4A80
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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