#8F29C6#8F29C6

#8F29C6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.6% C 0.228 H 309.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8F29C6
RGBrgb(143, 41, 198)
HSLhsl(279, 66%, 47%)
HSVhsv(279, 79%, 78%)
CMYKcmyk(27.8%, 79.3%, 0%, 22.4%)
CIE-LABlab(40.42, 65.27, -61.49)
CIE-LCHlch(40.42, 89.67, 316.71°)
OKLaboklab(51.59% 0.1462 -0.1745)
OKLCHoklch(51.59% 0.228 309.9)
XYZxyz(22.3116, 11.5032, 54.4601)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29C6 #60C629
analogous
#4129C6 #8F29C6 #C629AF
triadic
#8F29C6 #C68F29 #29C68F
tetradic
#8F29C6 #C64129 #60C629 #29AFC6
square
#8F29C6 #C64129 #60C629 #29AFC6
split-complementary
#8F29C6 #AFC629 #29C641
monochromatic
#461461 #6A1F93 #8F29C6 #AB51DB #C384E6

Accessibility & contrast

On white

6.36
#8F29C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8F29C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29C6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29C6#FFFFFF#000000##FFFFFF
##8F29C61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#875178
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f29c6;
/* rgb */ color: rgb(143, 41, 198);
/* oklch */ color: oklch(51.6% 0.228 309.9);
Tailwind
colors: {
  custom: {
    50: '#b56fd8',
    500: '#8f29c6',
    950: '#000000',
  },
}
SCSS
$custom: #8f29c6;
$custom-light: #b56fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29c6",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 278.981,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.22766,
    "h": 309.9
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#8F29C6
secondary
#99CF7C
accent
#E93F7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8F29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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