#9F47D8#9F47D8

#9F47D8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.216 H 309.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F47D8
RGBrgb(159, 71, 216)
HSLhsl(276, 65%, 56%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(26.4%, 67.1%, 0%, 15.3%)
CIE-LABlab(48.05, 60.30, -59.40)
CIE-LCHlch(48.05, 84.65, 315.43°)
OKLaboklab(57.86% 0.1361 -0.1681)
OKLCHoklch(57.86% 0.216 309)
XYZxyz(28.9435, 16.8358, 66.6773)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47D8 #80D847
analogous
#5747D8 #9F47D8 #D847C8
triadic
#9F47D8 #D89F47 #47D89F
tetradic
#9F47D8 #D85747 #80D847 #47C8D8
square
#9F47D8 #D85747 #80D847 #47C8D8
split-complementary
#9F47D8 #C8D847 #47D857
monochromatic
#5E1D88 #8127BA #9F47D8 #B979E3 #D4ACED

Accessibility & contrast

On white

4.81
#9F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9F47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47D8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47D8#FFFFFF#000000##FFFFFF
##9F47D81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#97668A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f47d8;
/* rgb */ color: rgb(159, 71, 216);
/* oklch */ color: oklch(57.9% 0.216 309.0);
Tailwind
colors: {
  custom: {
    50: '#c080e5',
    500: '#9f47d8',
    950: '#000000',
  },
}
SCSS
$custom: #9f47d8;
$custom-light: #c080e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47d8",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 276.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.21626,
    "h": 309
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#9F47D8
secondary
#B7DBA0
accent
#E84082
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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