#8F47CE#8F47CE

#8F47CE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.202 H 305.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8F47CE
RGBrgb(143, 71, 206)
HSLhsl(272, 58%, 54%)
HSVhsv(272, 66%, 81%)
CMYKcmyk(30.6%, 65.5%, 0%, 19.2%)
CIE-LABlab(45.36, 54.66, -58.11)
CIE-LCHlch(45.36, 79.78, 313.25°)
OKLaboklab(55.29% 0.1162 -0.1648)
OKLCHoklch(55.29% 0.202 305.2)
XYZxyz(24.7191, 14.8025, 59.9355)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47CE #86CE47
analogous
#4C47CE #8F47CE #CE47CA
triadic
#8F47CE #CE8F47 #47CE8F
tetradic
#8F47CE #CE4C47 #86CE47 #47CACE
square
#8F47CE #CE4C47 #86CE47 #47CACE
split-complementary
#8F47CE #CACE47 #47CE4C
monochromatic
#50217A #702DAA #8F47CE #AC77DB #CAA8E8

Accessibility & contrast

On white

5.30
#8F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47CE#FFFFFF#000000##FFFFFF
##8F47CE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#206CCB
Tritanopia (blue-blind)
#846484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f47ce;
/* rgb */ color: rgb(143, 71, 206);
/* oklch */ color: oklch(55.3% 0.202 305.2);
Tailwind
colors: {
  custom: {
    50: '#b47fde',
    500: '#8f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f47ce;
$custom-light: #b47fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47ce",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 272,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.20163,
    "h": 305.2
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#8F47CE
secondary
#B6D59C
accent
#E1478F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8F47CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva