#9F47CE#9F47CE

#9F47CE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.206 H 311.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9F47CE
RGBrgb(159, 71, 206)
HSLhsl(279, 58%, 54%)
HSVhsv(279, 66%, 81%)
CMYKcmyk(22.8%, 65.5%, 0%, 19.2%)
CIE-LABlab(47.41, 58.14, -54.71)
CIE-LCHlch(47.41, 79.83, 316.74°)
OKLaboklab(57.2% 0.1369 -0.1543)
OKLCHoklch(57.2% 0.206 311.6)
XYZxyz(27.6898, 16.3343, 60.0747)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47CE #76CE47
analogous
#5C47CE #9F47CE #CE47BA
triadic
#9F47CE #CE9F47 #47CE9F
tetradic
#9F47CE #CE5C47 #76CE47 #47BACE
square
#9F47CE #CE5C47 #76CE47 #47BACE
split-complementary
#9F47CE #BACE47 #47CE5C
monochromatic
#5B217A #7F2DAA #9F47CE #B877DB #D1A8E8

Accessibility & contrast

On white

4.92
#9F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47CE#FFFFFF#000000##FFFFFF
##9F47CE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#996285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f47ce;
/* rgb */ color: rgb(159, 71, 206);
/* oklch */ color: oklch(57.2% 0.206 311.6);
Tailwind
colors: {
  custom: {
    50: '#bf80de',
    500: '#9f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f47ce;
$custom-light: #bf80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47ce",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 279.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.20626,
    "h": 311.6
  },
  "luminance": 0.16334
}

Semantic roles & 50–950 ramp

primary
#9F47CE
secondary
#B0D59C
accent
#E1477C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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