#8F29BD#8F29BD

#8F29BD is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.220 H 312.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F29BD
RGBrgb(143, 41, 189)
HSLhsl(281, 64%, 45%)
HSVhsv(281, 78%, 74%)
CMYKcmyk(24.3%, 78.3%, 0%, 25.9%)
CIE-LABlab(39.75, 63.43, -57.31)
CIE-LCHlch(39.75, 85.48, 317.90°)
OKLaboklab(50.92% 0.1481 -0.1622)
OKLCHoklch(50.92% 0.22 312.4)
XYZxyz(21.3043, 11.1003, 49.1546)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29BD #57BD29
analogous
#4529BD #8F29BD #BD29A1
triadic
#8F29BD #BD8F29 #29BD8F
tetradic
#8F29BD #BD4529 #57BD29 #29A1BD
square
#8F29BD #BD4529 #57BD29 #29A1BD
split-complementary
#8F29BD #A1BD29 #29BD45
monochromatic
#431358 #691E8B #8F29BD #AC4BD8 #C37DE3

Accessibility & contrast

On white

6.52
#8F29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29BD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29BD#FFFFFF#000000##FFFFFF
##8F29BD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0D60BA
Tritanopia (blue-blind)
#8A4D73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f29bd;
/* rgb */ color: rgb(143, 41, 189);
/* oklch */ color: oklch(50.9% 0.220 312.4);
Tailwind
colors: {
  custom: {
    50: '#b56fd2',
    500: '#8f29bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f29bd;
$custom-light: #b56fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29bd",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 281.351,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.21966,
    "h": 312.4
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#8F29BD
secondary
#91CB77
accent
#E74074
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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