#8A429D#8A429D

#8A429D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.9% C 0.155 H 318.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A429D
RGBrgb(138, 66, 157)
HSLhsl(287, 41%, 44%)
HSVhsv(287, 58%, 62%)
CMYKcmyk(12.1%, 58%, 0%, 38.4%)
CIE-LABlab(40.79, 45.05, -36.67)
CIE-LCHlch(40.79, 58.09, 320.85°)
OKLaboklab(50.87% 0.1168 -0.1021)
OKLCHoklch(50.87% 0.155 318.8)
XYZxyz(18.5144, 11.7348, 33.1815)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429D #559D42
analogous
#5C429D #8A429D #9D4282
triadic
#8A429D #9D8A42 #429D8A
tetradic
#8A429D #9D5C42 #559D42 #42829D
square
#8A429D #9D5C42 #559D42 #42829D
split-complementary
#8A429D #829D42 #429D5C
monochromatic
#3E1E47 #643072 #8A429D #A960BC #C08BCE

Accessibility & contrast

On white

6.27
#8A429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A429D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429D#FFFFFF#000000##FFFFFF
##8A429D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#8A5069
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429d;
/* rgb */ color: rgb(138, 66, 157);
/* oklch */ color: oklch(50.9% 0.155 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae7aba',
    500: '#8a429d',
    950: '#000000',
  },
}
SCSS
$custom: #8a429d;
$custom-light: #ae7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429d",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 287.473,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.15515,
    "h": 318.8
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#8A429D
secondary
#8DB982
accent
#D15771
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A429D

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

Preview Lab → · Contrast checker → · Palette generator →

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