#8F29C7#8F29C7

#8F29C7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.7% C 0.229 H 309.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8F29C7
RGBrgb(143, 41, 199)
HSLhsl(279, 66%, 47%)
HSVhsv(279, 79%, 78%)
CMYKcmyk(28.1%, 79.4%, 0%, 22%)
CIE-LABlab(40.49, 65.47, -61.95)
CIE-LCHlch(40.49, 90.14, 316.58°)
OKLaboklab(51.67% 0.146 -0.1759)
OKLCHoklch(51.67% 0.229 309.7)
XYZxyz(22.4274, 11.5495, 55.0696)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F29C7 #61C729
analogous
#4029C7 #8F29C7 #C729B0
triadic
#8F29C7 #C78F29 #29C78F
tetradic
#8F29C7 #C74029 #61C729 #29B0C7
square
#8F29C7 #C74029 #61C729 #29B0C7
split-complementary
#8F29C7 #B0C729 #29C740
monochromatic
#461462 #6B1F94 #8F29C7 #AB52DB #C385E6

Accessibility & contrast

On white

6.34
#8F29C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F29C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F29C7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F29C7#FFFFFF#000000##FFFFFF
##8F29C71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#875279
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f29c7;
/* rgb */ color: rgb(143, 41, 199);
/* oklch */ color: oklch(51.7% 0.229 309.7);
Tailwind
colors: {
  custom: {
    50: '#b56fd9',
    500: '#8f29c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f29c7;
$custom-light: #b56fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f29c7",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 199
  },
  "hsl": {
    "h": 278.734,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.22856,
    "h": 309.7
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#8F29C7
secondary
#9ACF7D
accent
#E93F7B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F29C7

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

Preview Lab → · Contrast checker → · Palette generator →

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