#9F47DE#9F47DE

#9F47DE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.222 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F47DE
RGBrgb(159, 71, 222)
HSLhsl(275, 70%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.4%, 68%, 0%, 12.9%)
CIE-LABlab(48.45, 61.62, -62.18)
CIE-LCHlch(48.45, 87.54, 314.74°)
OKLaboklab(58.28% 0.1355 -0.1762)
OKLCHoklch(58.28% 0.222 307.6)
XYZxyz(29.7334, 17.1517, 70.8373)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47DE #86DE47
analogous
#5447DE #9F47DE #DE47D1
triadic
#9F47DE #DE9F47 #47DE9F
tetradic
#9F47DE #DE5447 #86DE47 #47D1DE
square
#9F47DE #DE5447 #86DE47 #47D1DE
split-complementary
#9F47DE #D1DE47 #47DE54
monochromatic
#5F1A91 #8123C5 #9F47DE #BA7BE7 #D5AFF1

Accessibility & contrast

On white

4.74
#9F47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9F47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47DE#FFFFFF#000000##FFFFFF
##9F47DE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f47de;
/* rgb */ color: rgb(159, 71, 222);
/* oklch */ color: oklch(58.3% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#c081e9',
    500: '#9f47de',
    950: '#000000',
  },
}
SCSS
$custom: #9f47de;
$custom-light: #c081e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47de",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 274.967,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.22227,
    "h": 307.6
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#9F47DE
secondary
#BBDFA2
accent
#EC3B85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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