#8F47BA#8F47BA

#8F47BA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.180 H 310.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8F47BA
RGBrgb(143, 71, 186)
HSLhsl(278, 45%, 50%)
HSVhsv(278, 62%, 73%)
CMYKcmyk(23.1%, 61.8%, 0%, 27.1%)
CIE-LABlab(44.08, 50.08, -48.57)
CIE-LCHlch(44.08, 69.77, 315.88°)
OKLaboklab(53.95% 0.1173 -0.1368)
OKLCHoklch(53.95% 0.18 310.6)
XYZxyz(22.4422, 13.8918, 47.9440)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47BA #72BA47
analogous
#5547BA #8F47BA #BA47AC
triadic
#8F47BA #BA8F47 #47BA8F
tetradic
#8F47BA #BA5547 #72BA47 #47ACBA
square
#8F47BA #BA5547 #72BA47 #47ACBA
split-complementary
#8F47BA #ACBA47 #47BA55
monochromatic
#4B2562 #6D358E #8F47BA #AA74CB #C5A0DB

Accessibility & contrast

On white

5.56
#8F47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8F47BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47BA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47BA#FFFFFF#000000##FFFFFF
##8F47BA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#8A5D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f47ba;
/* rgb */ color: rgb(143, 71, 186);
/* oklch */ color: oklch(53.9% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#b37ecf',
    500: '#8f47ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f47ba;
$custom-light: #b37ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47ba",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 277.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.1802,
    "h": 310.6
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#8F47BA
secondary
#A8C895
accent
#D55383
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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