#9F47DA#9F47DA

#9F47DA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.218 H 308.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F47DA
RGBrgb(159, 71, 218)
HSLhsl(276, 67%, 57%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(27.1%, 67.4%, 0%, 14.5%)
CIE-LABlab(48.18, 60.74, -60.33)
CIE-LCHlch(48.18, 85.61, 315.19°)
OKLaboklab(58% 0.1359 -0.1708)
OKLCHoklch(58% 0.218 308.5)
XYZxyz(29.2036, 16.9398, 68.0473)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47DA #82DA47
analogous
#5647DA #9F47DA #DA47CC
triadic
#9F47DA #DA9F47 #47DA9F
tetradic
#9F47DA #DA5647 #82DA47 #47CCDA
square
#9F47DA #DA5647 #82DA47 #47CCDA
split-complementary
#9F47DA #CCDA47 #47DA56
monochromatic
#5E1C8B #8126BE #9F47DA #BA7AE4 #D4ADEE

Accessibility & contrast

On white

4.79
#9F47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9F47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47DA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47DA#FFFFFF#000000##FFFFFF
##9F47DA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2973D7
Tritanopia (blue-blind)
#96678B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f47da;
/* rgb */ color: rgb(159, 71, 218);
/* oklch */ color: oklch(58.0% 0.218 308.5);
Tailwind
colors: {
  custom: {
    50: '#c080e6',
    500: '#9f47da',
    950: '#000000',
  },
}
SCSS
$custom: #9f47da;
$custom-light: #c080e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47da",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 275.918,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58,
    "c": 0.21826,
    "h": 308.5
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#9F47DA
secondary
#B8DCA0
accent
#E93E83
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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