#9947CE#9947CE

#9947CE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.204 H 309.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9947CE
RGBrgb(153, 71, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(25.7%, 65.5%, 0%, 19.2%)
CIE-LABlab(46.63, 56.82, -56.01)
CIE-LCHlch(46.63, 79.79, 315.41°)
OKLaboklab(56.47% 0.1292 -0.1583)
OKLCHoklch(56.47% 0.204 309.2)
XYZxyz(26.5285, 15.7355, 60.0203)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947CE #7CCE47
analogous
#5547CE #9947CE #CE47C0
triadic
#9947CE #CE9947 #47CE99
tetradic
#9947CE #CE5547 #7CCE47 #47C0CE
square
#9947CE #CE5547 #7CCE47 #47C0CE
split-complementary
#9947CE #C0CE47 #47CE55
monochromatic
#57217A #792DAA #9947CE #B477DB #CFA8E8

Accessibility & contrast

On white

5.06
#9947CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9947CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947CE#FFFFFF#000000##FFFFFF
##9947CE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#916384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9947ce;
/* rgb */ color: rgb(153, 71, 206);
/* oklch */ color: oklch(56.5% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb80de',
    500: '#9947ce',
    950: '#000000',
  },
}
SCSS
$custom: #9947ce;
$custom-light: #bb80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9947ce",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 276.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.20435,
    "h": 309.2
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#9947CE
secondary
#B2D59C
accent
#E14783
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9947CE

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

Preview Lab → · Contrast checker → · Palette generator →

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