#8F47BD#8F47BD

#8F47BD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.183 H 309.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F47BD
RGBrgb(143, 71, 189)
HSLhsl(277, 47%, 51%)
HSVhsv(277, 62%, 74%)
CMYKcmyk(24.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(44.26, 50.76, -50.03)
CIE-LCHlch(44.26, 71.27, 315.41°)
OKLaboklab(54.14% 0.1172 -0.1411)
OKLCHoklch(54.14% 0.183 309.7)
XYZxyz(22.7645, 14.0207, 49.6413)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47BD #75BD47
analogous
#5447BD #8F47BD #BD47B0
triadic
#8F47BD #BD8F47 #47BD8F
tetradic
#8F47BD #BD5447 #75BD47 #47B0BD
square
#8F47BD #BD5447 #75BD47 #47B0BD
split-complementary
#8F47BD #B0BD47 #47BD54
monochromatic
#4C2465 #6E3492 #8F47BD #AA74CD #C6A1DD

Accessibility & contrast

On white

5.52
#8F47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47BD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47BD#FFFFFF#000000##FFFFFF
##8F47BD1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f47bd;
/* rgb */ color: rgb(143, 71, 189);
/* oklch */ color: oklch(54.1% 0.183 309.7);
Tailwind
colors: {
  custom: {
    50: '#b37ed1',
    500: '#8f47bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f47bd;
$custom-light: #b37ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47bd",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 276.61,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.18341,
    "h": 309.7
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#8F47BD
secondary
#AACA96
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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