#8A29C7#8A29C7

#8A29C7 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.227 H 307.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A29C7
RGBrgb(138, 41, 199)
HSLhsl(277, 66%, 47%)
HSVhsv(277, 79%, 78%)
CMYKcmyk(30.7%, 79.4%, 0%, 22%)
CIE-LABlab(39.77, 64.64, -63.15)
CIE-LCHlch(39.77, 90.37, 315.67°)
OKLaboklab(51.02% 0.1393 -0.1796)
OKLCHoklch(51.02% 0.227 307.8)
XYZxyz(21.5808, 11.1130, 55.0299)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29C7 #66C729
analogous
#3B29C7 #8A29C7 #C729B5
triadic
#8A29C7 #C78A29 #29C78A
tetradic
#8A29C7 #C73B29 #66C729 #29B5C7
square
#8A29C7 #C73B29 #66C729 #29B5C7
split-complementary
#8A29C7 #B5C729 #29C73B
monochromatic
#441462 #671F94 #8A29C7 #A652DB #C085E6

Accessibility & contrast

On white

6.52
#8A29C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A29C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29C7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29C7#FFFFFF#000000##FFFFFF
##8A29C71.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#805279
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a29c7;
/* rgb */ color: rgb(138, 41, 199);
/* oklch */ color: oklch(51.0% 0.227 307.8);
Tailwind
colors: {
  custom: {
    50: '#b26fd9',
    500: '#8a29c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a29c7;
$custom-light: #b26fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29c7",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 199
  },
  "hsl": {
    "h": 276.835,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.22726,
    "h": 307.8
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#8A29C7
secondary
#9DCF7D
accent
#E93F81
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8A29C7

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

Preview Lab → · Contrast checker → · Palette generator →

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