#9947CB#9947CB

#9947CB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.201 H 310.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9947CB
RGBrgb(153, 71, 203)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 65%, 80%)
CMYKcmyk(24.6%, 65%, 0%, 20.4%)
CIE-LABlab(46.43, 56.16, -54.59)
CIE-LCHlch(46.43, 78.32, 315.81°)
OKLaboklab(56.27% 0.1295 -0.1541)
OKLCHoklch(56.27% 0.201 310)
XYZxyz(26.1675, 15.5911, 58.1192)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947CB #79CB47
analogous
#5747CB #9947CB #CB47BB
triadic
#9947CB #CB9947 #47CB99
tetradic
#9947CB #CB5747 #79CB47 #47BBCB
square
#9947CB #CB5747 #79CB47 #47BBCB
split-complementary
#9947CB #BBCB47 #47CB57
monochromatic
#562176 #792FA6 #9947CB #B377D8 #CEA6E6

Accessibility & contrast

On white

5.10
#9947CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9947CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947CB#FFFFFF#000000##FFFFFF
##9947CB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#926283
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9947cb;
/* rgb */ color: rgb(153, 71, 203);
/* oklch */ color: oklch(56.3% 0.201 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb7fdb',
    500: '#9947cb',
    950: '#000000',
  },
}
SCSS
$custom: #9947cb;
$custom-light: #bb7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9947cb",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 277.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.20128,
    "h": 310
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#9947CB
secondary
#B0D39B
accent
#DF4982
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9947CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9947CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva