#9B49CD#9B49CD

#9B49CD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.201 H 310.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B49CD
RGBrgb(155, 73, 205)
HSLhsl(277, 57%, 55%)
HSVhsv(277, 64%, 80%)
CMYKcmyk(24.4%, 64.4%, 0%, 19.6%)
CIE-LABlab(47.16, 56.11, -54.56)
CIE-LCHlch(47.16, 78.26, 315.80°)
OKLaboklab(56.89% 0.1296 -0.154)
OKLCHoklch(56.89% 0.201 310.1)
XYZxyz(26.9174, 16.1420, 59.4435)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49CD #7BCD49
analogous
#5949CD #9B49CD #CD49BD
triadic
#9B49CD #CD9B49 #49CD9B
tetradic
#9B49CD #CD5949 #7BCD49 #49BDCD
square
#9B49CD #CD5949 #7BCD49 #49BDCD
split-complementary
#9B49CD #BDCD49 #49CD59
monochromatic
#59227A #7B2FAA #9B49CD #B579DA #D0A9E7

Accessibility & contrast

On white

4.97
#9B49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9B49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49CD#FFFFFF#000000##FFFFFF
##9B49CD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#946485
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b49cd;
/* rgb */ color: rgb(155, 73, 205);
/* oklch */ color: oklch(56.9% 0.201 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc81dd',
    500: '#9b49cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b49cd;
$custom-light: #bc81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49cd",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 277.273,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.20127,
    "h": 310.1
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#9B49CD
secondary
#B2D59D
accent
#E04881
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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