#8A29C6#8A29C6

#8A29C6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.226 H 308.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A29C6
RGBrgb(138, 41, 198)
HSLhsl(277, 66%, 47%)
HSVhsv(277, 79%, 78%)
CMYKcmyk(30.3%, 79.3%, 0%, 22.4%)
CIE-LABlab(39.69, 64.43, -62.70)
CIE-LCHlch(39.69, 89.90, 315.78°)
OKLaboklab(50.94% 0.1395 -0.1782)
OKLCHoklch(50.94% 0.226 308)
XYZxyz(21.4651, 11.0667, 54.4204)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29C6 #65C629
analogous
#3C29C6 #8A29C6 #C629B4
triadic
#8A29C6 #C68A29 #29C68A
tetradic
#8A29C6 #C63C29 #65C629 #29B4C6
square
#8A29C6 #C63C29 #65C629 #29B4C6
split-complementary
#8A29C6 #B4C629 #29C63C
monochromatic
#431461 #671F93 #8A29C6 #A651DB #C084E6

Accessibility & contrast

On white

6.54
#8A29C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A29C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29C6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29C6#FFFFFF#000000##FFFFFF
##8A29C61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#805278
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a29c6;
/* rgb */ color: rgb(138, 41, 198);
/* oklch */ color: oklch(50.9% 0.226 308.0);
Tailwind
colors: {
  custom: {
    50: '#b26fd8',
    500: '#8a29c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a29c6;
$custom-light: #b26fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29c6",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 277.07,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5094,
    "c": 0.22634,
    "h": 308
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#8A29C6
secondary
#9CCF7C
accent
#E93F80
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8A29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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