#8A29BD#8A29BD

#8A29BD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.218 H 310.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A29BD
RGBrgb(138, 41, 189)
HSLhsl(279, 64%, 45%)
HSVhsv(279, 78%, 74%)
CMYKcmyk(27%, 78.3%, 0%, 25.9%)
CIE-LABlab(39.01, 62.54, -58.54)
CIE-LCHlch(39.01, 85.67, 316.89°)
OKLaboklab(50.25% 0.1416 -0.166)
OKLCHoklch(50.25% 0.218 310.4)
XYZxyz(20.4577, 10.6637, 49.1149)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29BD #5CBD29
analogous
#4029BD #8A29BD #BD29A6
triadic
#8A29BD #BD8A29 #29BD8A
tetradic
#8A29BD #BD4029 #5CBD29 #29A6BD
square
#8A29BD #BD4029 #5CBD29 #29A6BD
split-complementary
#8A29BD #A6BD29 #29BD40
monochromatic
#411358 #651E8B #8A29BD #A74BD8 #C07DE3

Accessibility & contrast

On white

6.70
#8A29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29BD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29BD#FFFFFF#000000##FFFFFF
##8A29BD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#834E73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a29bd;
/* rgb */ color: rgb(138, 41, 189);
/* oklch */ color: oklch(50.2% 0.218 310.4);
Tailwind
colors: {
  custom: {
    50: '#b16ed2',
    500: '#8a29bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a29bd;
$custom-light: #b16ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29bd",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 279.324,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.21819,
    "h": 310.4
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8A29BD
secondary
#94CB77
accent
#E7407A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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