#8A429C#8A429C

#8A429C is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.8% C 0.154 H 319.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A429C
RGBrgb(138, 66, 156)
HSLhsl(288, 41%, 44%)
HSVhsv(288, 58%, 61%)
CMYKcmyk(11.5%, 57.7%, 0%, 38.8%)
CIE-LABlab(40.74, 44.84, -36.16)
CIE-LCHlch(40.74, 57.61, 321.12°)
OKLaboklab(50.81% 0.1167 -0.1006)
OKLCHoklch(50.81% 0.154 319.2)
XYZxyz(18.4294, 11.7008, 32.7337)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429C #549C42
analogous
#5D429C #8A429C #9C4281
triadic
#8A429C #9C8A42 #429C8A
tetradic
#8A429C #9C5D42 #549C42 #42819C
square
#8A429C #9C5D42 #549C42 #42819C
split-complementary
#8A429C #819C42 #429C5D
monochromatic
#3E1E46 #643071 #8A429C #A960BC #C08BCE

Accessibility & contrast

On white

6.29
#8A429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A429C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A429C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429C#FFFFFF#000000##FFFFFF
##8A429C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#8A5069
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429c;
/* rgb */ color: rgb(138, 66, 156);
/* oklch */ color: oklch(50.8% 0.154 319.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ab9',
    500: '#8a429c',
    950: '#000000',
  },
}
SCSS
$custom: #8a429c;
$custom-light: #ae7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429c",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 288,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.15412,
    "h": 319.2
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#8A429C
secondary
#8CB981
accent
#D05770
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A429C

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

Preview Lab → · Contrast checker → · Palette generator →

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