#9947C8#9947C8

#9947C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.1% C 0.198 H 310.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9947C8
RGBrgb(153, 71, 200)
HSLhsl(278, 54%, 53%)
HSVhsv(278, 65%, 78%)
CMYKcmyk(23.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(46.24, 55.50, -53.17)
CIE-LCHlch(46.24, 76.86, 316.23°)
OKLaboklab(56.07% 0.1296 -0.1499)
OKLCHoklch(56.07% 0.198 310.8)
XYZxyz(25.8135, 15.4495, 56.2546)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947C8 #76C847
analogous
#5947C8 #9947C8 #C847B6
triadic
#9947C8 #C89947 #47C899
tetradic
#9947C8 #C85947 #76C847 #47B6C8
square
#9947C8 #C85947 #76C847 #47B6C8
split-complementary
#9947C8 #B6C847 #47C859
monochromatic
#552272 #7830A2 #9947C8 #B376D6 #CDA5E4

Accessibility & contrast

On white

5.13
#9947C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9947C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947C8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947C8#FFFFFF#000000##FFFFFF
##9947C81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#936181
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9947c8;
/* rgb */ color: rgb(153, 71, 200);
/* oklch */ color: oklch(56.1% 0.198 310.8);
Tailwind
colors: {
  custom: {
    50: '#bb7fd9',
    500: '#9947c8',
    950: '#000000',
  },
}
SCSS
$custom: #9947c8;
$custom-light: #bb7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9947c8",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 278.14,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.1982,
    "h": 310.8
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#9947C8
secondary
#AED19A
accent
#DD4A80
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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