#8F429D#8F429D

#8F429D is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.5% C 0.158 H 321.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F429D
RGBrgb(143, 66, 157)
HSLhsl(291, 41%, 44%)
HSVhsv(291, 58%, 62%)
CMYKcmyk(8.9%, 58%, 0%, 38.4%)
CIE-LABlab(41.49, 46.40, -35.53)
CIE-LCHlch(41.49, 58.44, 322.56°)
OKLaboklab(51.52% 0.123 -0.0987)
OKLCHoklch(51.52% 0.158 321.3)
XYZxyz(19.3610, 12.1713, 33.2212)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F429D #509D42
analogous
#61429D #8F429D #9D427D
triadic
#8F429D #9D8F42 #429D8F
tetradic
#8F429D #9D6142 #509D42 #427D9D
square
#8F429D #9D6142 #509D42 #427D9D
split-complementary
#8F429D #7D9D42 #429D61
monochromatic
#411E47 #683072 #8F429D #AE60BC #C48BCE

Accessibility & contrast

On white

6.12
#8F429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F429D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F429D#FFFFFF#000000##FFFFFF
##8F429D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#904F69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f429d;
/* rgb */ color: rgb(143, 66, 157);
/* oklch */ color: oklch(51.5% 0.158 321.3);
Tailwind
colors: {
  custom: {
    50: '#b27aba',
    500: '#8f429d',
    950: '#000000',
  },
}
SCSS
$custom: #8f429d;
$custom-light: #b27aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f429d",
  "rgb": {
    "r": 143,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 290.769,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.15768,
    "h": 321.3
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#8F429D
secondary
#8AB982
accent
#D1576A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F429D

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

Preview Lab → · Contrast checker → · Palette generator →

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