#9B49DC#9B49DC

#9B49DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.217 H 306.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B49DC
RGBrgb(155, 73, 220)
HSLhsl(273, 68%, 57%)
HSVhsv(273, 67%, 86%)
CMYKcmyk(29.5%, 66.8%, 0%, 13.7%)
CIE-LABlab(48.14, 59.45, -61.57)
CIE-LCHlch(48.14, 85.59, 313.99°)
OKLaboklab(57.9% 0.1284 -0.1746)
OKLCHoklch(57.9% 0.217 306.3)
XYZxyz(28.8156, 16.9012, 69.4405)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49DC #8ADC49
analogous
#5149DC #9B49DC #DC49D4
triadic
#9B49DC #DC9B49 #49DC9B
tetradic
#9B49DC #DC5149 #8ADC49 #49D4DC
square
#9B49DC #DC5149 #8ADC49 #49D4DC
split-complementary
#9B49DC #D4DC49 #49DC51
monochromatic
#5C1C8F #7D25C2 #9B49DC #B77CE6 #D3B0F0

Accessibility & contrast

On white

4.79
#9B49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9B49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49DC#FFFFFF#000000##FFFFFF
##9B49DC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#90698D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b49dc;
/* rgb */ color: rgb(155, 73, 220);
/* oklch */ color: oklch(57.9% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#bd81e8',
    500: '#9b49dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b49dc;
$custom-light: #bd81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49dc",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 273.469,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.2167,
    "h": 306.3
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#9B49DC
secondary
#BDDEA3
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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