#8F47BE#8F47BE

#8F47BE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.184 H 309.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F47BE
RGBrgb(143, 71, 190)
HSLhsl(276, 48%, 51%)
HSVhsv(276, 63%, 75%)
CMYKcmyk(24.7%, 62.6%, 0%, 25.5%)
CIE-LABlab(44.32, 50.98, -50.51)
CIE-LCHlch(44.32, 71.77, 315.27°)
OKLaboklab(54.21% 0.1172 -0.1425)
OKLCHoklch(54.21% 0.184 309.4)
XYZxyz(22.8734, 14.0642, 50.2149)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47BE #76BE47
analogous
#5347BE #8F47BE #BE47B1
triadic
#8F47BE #BE8F47 #47BE8F
tetradic
#8F47BE #BE5347 #76BE47 #47B1BE
square
#8F47BE #BE5347 #76BE47 #47B1BE
split-complementary
#8F47BE #B1BE47 #47BE53
monochromatic
#4C2466 #6E3494 #8F47BE #AB74CE #C6A1DE

Accessibility & contrast

On white

5.51
#8F47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47BE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47BE#FFFFFF#000000##FFFFFF
##8F47BE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C2
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#885E7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f47be;
/* rgb */ color: rgb(143, 71, 190);
/* oklch */ color: oklch(54.2% 0.184 309.4);
Tailwind
colors: {
  custom: {
    50: '#b37ed2',
    500: '#8f47be',
    950: '#000000',
  },
}
SCSS
$custom: #8f47be;
$custom-light: #b37ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47be",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 276.303,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.18448,
    "h": 309.4
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#8F47BE
secondary
#ABCB96
accent
#D75086
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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