#9F47CC#9F47CC

#9F47CC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.204 H 312.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F47CC
RGBrgb(159, 71, 204)
HSLhsl(280, 57%, 54%)
HSVhsv(280, 65%, 80%)
CMYKcmyk(22.1%, 65.2%, 0%, 20%)
CIE-LABlab(47.28, 57.71, -53.76)
CIE-LCHlch(47.28, 78.87, 317.03°)
OKLaboklab(57.07% 0.137 -0.1515)
OKLCHoklch(57.07% 0.204 312.1)
XYZxyz(27.4484, 16.2378, 58.8033)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47CC #74CC47
analogous
#5D47CC #9F47CC #CC47B7
triadic
#9F47CC #CC9F47 #47CC9F
tetradic
#9F47CC #CC5D47 #74CC47 #47B7CC
square
#9F47CC #CC5D47 #74CC47 #47B7CC
split-complementary
#9F47CC #B7CC47 #47CC5D
monochromatic
#5A2177 #7E2EA7 #9F47CC #B877D9 #D1A7E7

Accessibility & contrast

On white

4.94
#9F47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9F47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47CC#FFFFFF#000000##FFFFFF
##9F47CC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#9A6183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f47cc;
/* rgb */ color: rgb(159, 71, 204);
/* oklch */ color: oklch(57.1% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#bf80dc',
    500: '#9f47cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f47cc;
$custom-light: #bf80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47cc",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 279.699,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.20426,
    "h": 312.1
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#9F47CC
secondary
#AED49B
accent
#E0487B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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