#8F47C2#8F47C2

#8F47C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.189 H 308.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8F47C2
RGBrgb(143, 71, 194)
HSLhsl(275, 50%, 52%)
HSVhsv(275, 63%, 76%)
CMYKcmyk(26.3%, 63.4%, 0%, 23.9%)
CIE-LABlab(44.58, 51.89, -52.44)
CIE-LCHlch(44.58, 73.77, 314.70°)
OKLaboklab(54.47% 0.117 -0.1481)
OKLCHoklch(54.47% 0.189 308.3)
XYZxyz(23.3166, 14.2415, 52.5490)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F47C2 #7AC247
analogous
#5247C2 #8F47C2 #C247B8
triadic
#8F47C2 #C28F47 #47C28F
tetradic
#8F47C2 #C25247 #7AC247 #47B8C2
square
#8F47C2 #C25247 #7AC247 #47B8C2
split-complementary
#8F47C2 #B8C247 #47C252
monochromatic
#4D246B #6F3399 #8F47C2 #AB75D1 #C7A3E0

Accessibility & contrast

On white

5.46
#8F47C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8F47C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F47C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F47C2#FFFFFF#000000##FFFFFF
##8F47C21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#87607E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f47c2;
/* rgb */ color: rgb(143, 71, 194);
/* oklch */ color: oklch(54.5% 0.189 308.3);
Tailwind
colors: {
  custom: {
    50: '#b37ed5',
    500: '#8f47c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f47c2;
$custom-light: #b37ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f47c2",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 275.122,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.18877,
    "h": 308.3
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#8F47C2
secondary
#AECD97
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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