#8F47C8#8F47C8

#8F47C8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.195 H 306.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F47C8
RGBrgb(143, 71, 200)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 65%, 78%)
CMYKcmyk(28.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(44.96, 53.27, -55.29)
CIE-LCHlch(44.96, 76.78, 313.93°)
OKLaboklab(54.87% 0.1167 -0.1565)
OKLCHoklch(54.87% 0.195 306.7)
XYZxyz(24.0040, 14.5165, 56.1698)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47C8 #80C847
analogous
#4E47C8 #8F47C8 #C847C1
triadic
#8F47C8 #C88F47 #47C88F
tetradic
#8F47C8 #C84E47 #80C847 #47C1C8
square
#8F47C8 #C84E47 #80C847 #47C1C8
split-complementary
#8F47C8 #C1C847 #47C84E
monochromatic
#4F2272 #6F30A2 #8F47C8 #AC76D6 #C8A5E4

Accessibility & contrast

On white

5.38
#8F47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8F47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47C8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47C8#FFFFFF#000000##FFFFFF
##8F47C81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#866281
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f47c8;
/* rgb */ color: rgb(143, 71, 200);
/* oklch */ color: oklch(54.9% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#b47fd9',
    500: '#8f47c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f47c8;
$custom-light: #b47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47c8",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 273.488,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.1952,
    "h": 306.7
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#8F47C8
secondary
#B2D19A
accent
#DD4A8B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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