#8F29B0#8F29B0

#8F29B0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.208 H 316.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F29B0
RGBrgb(143, 41, 176)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 77%, 69%)
CMYKcmyk(18.7%, 76.7%, 0%, 31%)
CIE-LABlab(38.83, 60.84, -51.11)
CIE-LCHlch(38.83, 79.46, 319.96°)
OKLaboklab(49.98% 0.1503 -0.144)
OKLCHoklch(49.98% 0.208 316.2)
XYZxyz(19.9559, 10.5609, 42.0532)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29B0 #4AB029
analogous
#4B29B0 #8F29B0 #B0298E
triadic
#8F29B0 #B08F29 #29B08F
tetradic
#8F29B0 #B04B29 #4AB029 #298EB0
square
#8F29B0 #B04B29 #4AB029 #298EB0
split-complementary
#8F29B0 #8EB029 #29B04B
monochromatic
#3E124D #671D7E #8F29B0 #B043D3 #C575DF

Accessibility & contrast

On white

6.75
#8F29B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F29B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29B0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29B0#FFFFFF#000000##FFFFFF
##8F29B01.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#8D476C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f29b0;
/* rgb */ color: rgb(143, 41, 176);
/* oklch */ color: oklch(50.0% 0.208 316.2);
Tailwind
colors: {
  custom: {
    50: '#b46ec8',
    500: '#8f29b0',
    950: '#000000',
  },
}
SCSS
$custom: #8f29b0;
$custom-light: #b46ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29b0",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 285.333,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.20821,
    "h": 316.2
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#8F29B0
secondary
#84C66F
accent
#E5436A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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