#8F47D6#8F47D6

#8F47D6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.210 H 303.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8F47D6
RGBrgb(143, 71, 214)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(33.2%, 66.8%, 0%, 16.1%)
CIE-LABlab(45.91, 56.54, -61.82)
CIE-LCHlch(45.91, 83.78, 312.44°)
OKLaboklab(55.85% 0.1154 -0.1757)
OKLCHoklch(55.85% 0.21 303.3)
XYZxyz(25.7157, 15.2012, 65.1846)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47D6 #8ED647
analogous
#4747D6 #8F47D6 #D647D5
triadic
#8F47D6 #D68F47 #47D68F
tetradic
#8F47D6 #D64747 #8ED647 #47D5D6
square
#8F47D6 #D64747 #8ED647 #47D5D6
split-complementary
#8F47D6 #D5D647 #47D647
monochromatic
#521E85 #7029B7 #8F47D6 #AD79E1 #CCABEC

Accessibility & contrast

On white

5.20
#8F47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8F47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47D6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47D6#FFFFFF#000000##FFFFFF
##8F47D61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#066CD3
Tritanopia (blue-blind)
#816789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f47d6;
/* rgb */ color: rgb(143, 71, 214);
/* oklch */ color: oklch(55.9% 0.210 303.3);
Tailwind
colors: {
  custom: {
    50: '#b57fe3',
    500: '#8f47d6',
    950: '#000000',
  },
}
SCSS
$custom: #8f47d6;
$custom-light: #b57fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47d6",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 270.21,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.21018,
    "h": 303.3
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#8F47D6
secondary
#BCDA9F
accent
#E74193
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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