#9F47DC#9F47DC

#9F47DC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.220 H 308.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F47DC
RGBrgb(159, 71, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(27.7%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.32, 61.18, -61.26)
CIE-LCHlch(48.32, 86.57, 314.96°)
OKLaboklab(58.14% 0.1357 -0.1735)
OKLCHoklch(58.14% 0.22 308)
XYZxyz(29.4669, 17.0451, 69.4340)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47DC #84DC47
analogous
#5447DC #9F47DC #DC47CF
triadic
#9F47DC #DC9F47 #47DC9F
tetradic
#9F47DC #DC5447 #84DC47 #47CFDC
square
#9F47DC #DC5447 #84DC47 #47CFDC
split-complementary
#9F47DC #CFDC47 #47DC54
monochromatic
#5F1B8E #8125C1 #9F47DC #BA7AE6 #D5AEF0

Accessibility & contrast

On white

4.76
#9F47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9F47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47DC#FFFFFF#000000##FFFFFF
##9F47DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#95688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f47dc;
/* rgb */ color: rgb(159, 71, 220);
/* oklch */ color: oklch(58.1% 0.220 308.0);
Tailwind
colors: {
  custom: {
    50: '#c081e8',
    500: '#9f47dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f47dc;
$custom-light: #c081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47dc",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 275.436,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.22027,
    "h": 308
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#9F47DC
secondary
#BADEA1
accent
#EB3D84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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