#8A29BC#8A29BC

#8A29BC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.217 H 310.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A29BC
RGBrgb(138, 41, 188)
HSLhsl(280, 64%, 45%)
HSVhsv(280, 78%, 74%)
CMYKcmyk(26.6%, 78.2%, 0%, 26.3%)
CIE-LABlab(38.93, 62.33, -58.08)
CIE-LCHlch(38.93, 85.20, 317.03°)
OKLaboklab(50.17% 0.1418 -0.1647)
OKLCHoklch(50.17% 0.217 310.7)
XYZxyz(20.3495, 10.6205, 48.5452)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29BC #5BBC29
analogous
#4129BC #8A29BC #BC29A4
triadic
#8A29BC #BC8A29 #29BC8A
tetradic
#8A29BC #BC4129 #5BBC29 #29A4BC
square
#8A29BC #BC4129 #5BBC29 #29A4BC
split-complementary
#8A29BC #A4BC29 #29BC41
monochromatic
#401358 #651E8A #8A29BC #A84BD8 #C07DE3

Accessibility & contrast

On white

6.72
#8A29BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A29BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29BC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29BC#FFFFFF#000000##FFFFFF
##8A29BC1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#834D72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a29bc;
/* rgb */ color: rgb(138, 41, 188);
/* oklch */ color: oklch(50.2% 0.217 310.7);
Tailwind
colors: {
  custom: {
    50: '#b16ed1',
    500: '#8a29bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a29bc;
$custom-light: #b16ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29bc",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 279.592,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.21728,
    "h": 310.7
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#8A29BC
secondary
#93CB76
accent
#E74179
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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