#8A429E#8A429E

#8A429E is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.9% C 0.156 H 318.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A429E
RGBrgb(138, 66, 158)
HSLhsl(287, 41%, 44%)
HSVhsv(287, 58%, 62%)
CMYKcmyk(12.7%, 58.2%, 0%, 38%)
CIE-LABlab(40.85, 45.26, -37.18)
CIE-LCHlch(40.85, 58.58, 320.59°)
OKLaboklab(50.92% 0.1168 -0.1036)
OKLCHoklch(50.92% 0.156 318.4)
XYZxyz(18.6002, 11.7691, 33.6330)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429E #569E42
analogous
#5C429E #8A429E #9E4284
triadic
#8A429E #9E8A42 #429E8A
tetradic
#8A429E #9E5C42 #569E42 #42849E
square
#8A429E #9E5C42 #569E42 #42849E
split-complementary
#8A429E #849E42 #429E5C
monochromatic
#3F1E48 #643073 #8A429E #A960BD #C08CCF

Accessibility & contrast

On white

6.26
#8A429E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A429E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429E#FFFFFF#000000##FFFFFF
##8A429E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#8A516A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429e;
/* rgb */ color: rgb(138, 66, 158);
/* oklch */ color: oklch(50.9% 0.156 318.4);
Tailwind
colors: {
  custom: {
    50: '#af7abb',
    500: '#8a429e',
    950: '#000000',
  },
}
SCSS
$custom: #8a429e;
$custom-light: #af7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429e",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 286.957,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.15618,
    "h": 318.4
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A429E

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

Preview Lab → · Contrast checker → · Palette generator →

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