#9F47CA#9F47CA

#9F47CA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 56.9% C 0.202 H 312.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9F47CA
RGBrgb(159, 71, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 65%, 79%)
CMYKcmyk(21.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(47.16, 57.29, -52.81)
CIE-LCHlch(47.16, 77.91, 317.33°)
OKLaboklab(56.94% 0.1371 -0.1487)
OKLCHoklch(56.94% 0.202 312.7)
XYZxyz(27.2101, 16.1424, 57.5481)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47CA #72CA47
analogous
#5D47CA #9F47CA #CA47B3
triadic
#9F47CA #CA9F47 #47CA9F
tetradic
#9F47CA #CA5D47 #72CA47 #47B3CA
square
#9F47CA #CA5D47 #72CA47 #47B3CA
split-complementary
#9F47CA #B3CA47 #47CA5D
monochromatic
#5A2275 #7E2FA4 #9F47CA #B877D8 #D1A6E5

Accessibility & contrast

On white

4.97
#9F47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47CA#FFFFFF#000000##FFFFFF
##9F47CA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#9A6182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f47ca;
/* rgb */ color: rgb(159, 71, 202);
/* oklch */ color: oklch(56.9% 0.202 312.7);
Tailwind
colors: {
  custom: {
    50: '#bf80db',
    500: '#9f47ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f47ca;
$custom-light: #bf80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47ca",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 280.305,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.20228,
    "h": 312.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#9F47CA
secondary
#ADD29A
accent
#DF497A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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