#8F47D8#8F47D8

#8F47D8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.212 H 302.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F47D8
RGBrgb(143, 71, 216)
HSLhsl(270, 65%, 56%)
HSVhsv(270, 67%, 85%)
CMYKcmyk(33.8%, 67.1%, 0%, 15.3%)
CIE-LABlab(46.05, 57.01, -62.74)
CIE-LCHlch(46.05, 84.78, 312.26°)
OKLaboklab(55.99% 0.1151 -0.1784)
OKLCHoklch(55.99% 0.212 302.8)
XYZxyz(25.9727, 15.3040, 66.5381)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47D8 #90D847
analogous
#4748D8 #8F47D8 #D747D8
triadic
#8F47D8 #D88F47 #47D88F
tetradic
#8F47D8 #D84748 #90D847 #47D8D7
square
#8F47D8 #D84748 #90D847 #47D8D7
split-complementary
#8F47D8 #D8D747 #48D847
monochromatic
#521D88 #7027BA #8F47D8 #AE79E3 #CCACED

Accessibility & contrast

On white

5.17
#8F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8F47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47D8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47D8#FFFFFF#000000##FFFFFF
##8F47D81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#80688A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f47d8;
/* rgb */ color: rgb(143, 71, 216);
/* oklch */ color: oklch(56.0% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#b57fe5',
    500: '#8f47d8',
    950: '#000000',
  },
}
SCSS
$custom: #8f47d8;
$custom-light: #b57fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47d8",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 269.793,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.21231,
    "h": 302.8
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#8F47D8
secondary
#BEDBA0
accent
#E84094
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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