#8F29C5#8F29C5

#8F29C5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.227 H 310.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F29C5
RGBrgb(143, 41, 197)
HSLhsl(279, 66%, 47%)
HSVhsv(279, 79%, 77%)
CMYKcmyk(27.4%, 79.2%, 0%, 22.7%)
CIE-LABlab(40.34, 65.06, -61.03)
CIE-LCHlch(40.34, 89.21, 316.83°)
OKLaboklab(51.52% 0.1464 -0.1732)
OKLCHoklch(51.52% 0.227 310.2)
XYZxyz(22.1967, 11.4572, 53.8547)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29C5 #5FC529
analogous
#4129C5 #8F29C5 #C529AD
triadic
#8F29C5 #C58F29 #29C58F
tetradic
#8F29C5 #C54129 #5FC529 #29ADC5
square
#8F29C5 #C54129 #5FC529 #29ADC5
split-complementary
#8F29C5 #ADC529 #29C541
monochromatic
#451460 #6A1E92 #8F29C5 #AB51DB #C383E5

Accessibility & contrast

On white

6.38
#8F29C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F29C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29C5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29C5#FFFFFF#000000##FFFFFF
##8F29C51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f29c5;
/* rgb */ color: rgb(143, 41, 197);
/* oklch */ color: oklch(51.5% 0.227 310.2);
Tailwind
colors: {
  custom: {
    50: '#b56fd8',
    500: '#8f29c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f29c5;
$custom-light: #b56fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29c5",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 279.231,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.22677,
    "h": 310.2
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#8F29C5
secondary
#98CE7C
accent
#E83F7A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8F29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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