#9947CA#9947CA

#9947CA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.200 H 310.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9947CA
RGBrgb(153, 71, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 65%, 79%)
CMYKcmyk(24.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(46.37, 55.94, -54.12)
CIE-LCHlch(46.37, 77.83, 315.95°)
OKLaboklab(56.2% 0.1295 -0.1527)
OKLCHoklch(56.2% 0.2 310.3)
XYZxyz(26.0487, 15.5436, 57.4937)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947CA #78CA47
analogous
#5747CA #9947CA #CA47B9
triadic
#9947CA #CA9947 #47CA99
tetradic
#9947CA #CA5747 #78CA47 #47B9CA
square
#9947CA #CA5747 #78CA47 #47B9CA
split-complementary
#9947CA #B9CA47 #47CA57
monochromatic
#562275 #792FA4 #9947CA #B377D8 #CEA6E5

Accessibility & contrast

On white

5.11
#9947CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9947CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947CA#FFFFFF#000000##FFFFFF
##9947CA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#926282
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9947ca;
/* rgb */ color: rgb(153, 71, 202);
/* oklch */ color: oklch(56.2% 0.200 310.3);
Tailwind
colors: {
  custom: {
    50: '#bb7fdb',
    500: '#9947ca',
    950: '#000000',
  },
}
SCSS
$custom: #9947ca;
$custom-light: #bb7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9947ca",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 277.557,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.20025,
    "h": 310.3
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#9947CA
secondary
#AFD29A
accent
#DF4981
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9947CA

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

Preview Lab → · Contrast checker → · Palette generator →

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