#8F29BA#8F29BA

#8F29BA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 313.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8F29BA
RGBrgb(143, 41, 186)
HSLhsl(282, 64%, 45%)
HSVhsv(282, 78%, 73%)
CMYKcmyk(23.1%, 78%, 0%, 27.1%)
CIE-LABlab(39.53, 62.82, -55.89)
CIE-LCHlch(39.53, 84.09, 318.34°)
OKLaboklab(50.7% 0.1487 -0.1581)
OKLCHoklch(50.7% 0.217 313.2)
XYZxyz(20.9820, 10.9714, 47.4573)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29BA #54BA29
analogous
#4729BA #8F29BA #BA299D
triadic
#8F29BA #BA8F29 #29BA8F
tetradic
#8F29BA #BA4729 #54BA29 #299DBA
square
#8F29BA #BA4729 #54BA29 #299DBA
split-complementary
#8F29BA #9DBA29 #29BA47
monochromatic
#421356 #681E88 #8F29BA #AD49D7 #C47BE2

Accessibility & contrast

On white

6.57
#8F29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8F29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29BA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29BA#FFFFFF#000000##FFFFFF
##8F29BA1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#165FB7
Tritanopia (blue-blind)
#8A4C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f29ba;
/* rgb */ color: rgb(143, 41, 186);
/* oklch */ color: oklch(50.7% 0.217 313.2);
Tailwind
colors: {
  custom: {
    50: '#b56fd0',
    500: '#8f29ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f29ba;
$custom-light: #b56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29ba",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 282.207,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.21701,
    "h": 313.2
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#8F29BA
secondary
#8ECA75
accent
#E74172
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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