#8F479A#8F479A

#8F479A is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.0% C 0.147 H 322.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8F479A
RGBrgb(143, 71, 154)
HSLhsl(292, 37%, 44%)
HSVhsv(292, 54%, 60%)
CMYKcmyk(7.1%, 53.9%, 0%, 39.6%)
CIE-LABlab(42.28, 43.26, -32.48)
CIE-LCHlch(42.28, 54.10, 323.10°)
OKLaboklab(52.05% 0.1158 -0.0899)
OKLCHoklch(52.05% 0.147 322.2)
XYZxyz(19.4130, 12.6801, 31.9905)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F479A #529A47
analogous
#66479A #8F479A #9A477C
triadic
#8F479A #9A8F47 #479A8F
tetradic
#8F479A #9A6647 #529A47 #477C9A
square
#8F479A #9A6647 #529A47 #477C9A
split-complementary
#8F479A #7C9A47 #479A66
monochromatic
#412046 #683470 #8F479A #AD66B8 #C490CC

Accessibility & contrast

On white

5.94
#8F479A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F479A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F479A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F479A#FFFFFF#000000##FFFFFF
##8F479A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9D
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#91526A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f479a;
/* rgb */ color: rgb(143, 71, 154);
/* oklch */ color: oklch(52.0% 0.147 322.2);
Tailwind
colors: {
  custom: {
    50: '#b27db8',
    500: '#8f479a',
    950: '#000000',
  },
}
SCSS
$custom: #8f479a;
$custom-light: #b27db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f479a",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 292.048,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.14658,
    "h": 322.2
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#8F479A
secondary
#8CB785
accent
#CD5B6A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F479A

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

Preview Lab → · Contrast checker → · Palette generator →

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