#8A429A#8A429A

#8A429A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.7% C 0.152 H 320.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A429A
RGBrgb(138, 66, 154)
HSLhsl(289, 40%, 43%)
HSVhsv(289, 57%, 60%)
CMYKcmyk(10.4%, 57.1%, 0%, 39.6%)
CIE-LABlab(40.63, 44.43, -35.13)
CIE-LCHlch(40.63, 56.64, 321.67°)
OKLaboklab(50.69% 0.1166 -0.0977)
OKLCHoklch(50.69% 0.152 320)
XYZxyz(18.2615, 11.6336, 31.8492)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429A #529A42
analogous
#5E429A #8A429A #9A427E
triadic
#8A429A #9A8A42 #429A8A
tetradic
#8A429A #9A5E42 #529A42 #427E9A
square
#8A429A #9A5E42 #529A42 #427E9A
split-complementary
#8A429A #7E9A42 #429A5E
monochromatic
#3D1D44 #64306F #8A429A #AA5FBA #C18ACD

Accessibility & contrast

On white

6.31
#8A429A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A429A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A429A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429A#FFFFFF#000000##FFFFFF
##8A429A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#8B4F68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429a;
/* rgb */ color: rgb(138, 66, 154);
/* oklch */ color: oklch(50.7% 0.152 320.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ab8',
    500: '#8a429a',
    950: '#000000',
  },
}
SCSS
$custom: #8a429a;
$custom-light: #ae7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429a",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 289.091,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.15206,
    "h": 320
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#8A429A
secondary
#8AB880
accent
#D0586E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A429A

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

Preview Lab → · Contrast checker → · Palette generator →

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