#8F29B2#8F29B2

#8F29B2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 315.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8F29B2
RGBrgb(143, 41, 178)
HSLhsl(285, 63%, 43%)
HSVhsv(285, 77%, 70%)
CMYKcmyk(19.7%, 77%, 0%, 30.2%)
CIE-LABlab(38.97, 61.23, -52.08)
CIE-LCHlch(38.97, 80.38, 319.62°)
OKLaboklab(50.12% 0.15 -0.1469)
OKLCHoklch(50.12% 0.21 315.6)
XYZxyz(20.1552, 10.6407, 43.1030)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29B2 #4CB229
analogous
#4B29B2 #8F29B2 #B22990
triadic
#8F29B2 #B28F29 #29B28F
tetradic
#8F29B2 #B24B29 #4CB229 #2990B2
square
#8F29B2 #B24B29 #4CB229 #2990B2
split-complementary
#8F29B2 #90B229 #29B24B
monochromatic
#3F124F #671E80 #8F29B2 #AF44D4 #C476DF

Accessibility & contrast

On white

6.71
#8F29B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F29B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29B2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29B2#FFFFFF#000000##FFFFFF
##8F29B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#255EAF
Tritanopia (blue-blind)
#8C486D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f29b2;
/* rgb */ color: rgb(143, 41, 178);
/* oklch */ color: oklch(50.1% 0.210 315.6);
Tailwind
colors: {
  custom: {
    50: '#b46eca',
    500: '#8f29b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f29b2;
$custom-light: #b46eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29b2",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 284.672,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.20996,
    "h": 315.6
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#8F29B2
secondary
#86C770
accent
#E6426C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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