#9F47CF#9F47CF

#9F47CF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.207 H 311.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F47CF
RGBrgb(159, 71, 207)
HSLhsl(279, 59%, 55%)
HSVhsv(279, 66%, 81%)
CMYKcmyk(23.2%, 65.7%, 0%, 18.8%)
CIE-LABlab(47.47, 58.35, -55.18)
CIE-LCHlch(47.47, 80.31, 316.60°)
OKLaboklab(57.26% 0.1368 -0.1557)
OKLCHoklch(57.26% 0.207 311.3)
XYZxyz(27.8117, 16.3831, 60.7166)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47CF #77CF47
analogous
#5B47CF #9F47CF #CF47BB
triadic
#9F47CF #CF9F47 #47CF9F
tetradic
#9F47CF #CF5B47 #77CF47 #47BBCF
square
#9F47CF #CF5B47 #77CF47 #47BBCF
split-complementary
#9F47CF #BBCF47 #47CF5B
monochromatic
#5B207B #7F2DAC #9F47CF #B878DC #D2A8E8

Accessibility & contrast

On white

4.91
#9F47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9F47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47CF#FFFFFF#000000##FFFFFF
##9F47CF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f47cf;
/* rgb */ color: rgb(159, 71, 207);
/* oklch */ color: oklch(57.3% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf80de',
    500: '#9f47cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f47cf;
$custom-light: #bf80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47cf",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 278.824,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.20726,
    "h": 311.3
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#9F47CF
secondary
#B0D69C
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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