#8A429F#8A429F

#8A429F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.0% C 0.157 H 318.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A429F
RGBrgb(138, 66, 159)
HSLhsl(286, 41%, 44%)
HSVhsv(286, 58%, 62%)
CMYKcmyk(13.2%, 58.5%, 0%, 37.6%)
CIE-LABlab(40.90, 45.47, -37.70)
CIE-LCHlch(40.90, 59.06, 320.34°)
OKLaboklab(50.98% 0.1169 -0.1051)
OKLCHoklch(50.98% 0.157 318)
XYZxyz(18.6866, 11.8036, 34.0882)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429F #579F42
analogous
#5C429F #8A429F #9F4286
triadic
#8A429F #9F8A42 #429F8A
tetradic
#8A429F #9F5C42 #579F42 #42869F
square
#8A429F #9F5C42 #579F42 #42869F
split-complementary
#8A429F #869F42 #429F5C
monochromatic
#3F1E49 #643074 #8A429F #A861BD #C08CCF

Accessibility & contrast

On white

6.25
#8A429F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A429F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A429F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429F#FFFFFF#000000##FFFFFF
##8A429F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#8A516A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429f;
/* rgb */ color: rgb(138, 66, 159);
/* oklch */ color: oklch(51.0% 0.157 318.0);
Tailwind
colors: {
  custom: {
    50: '#af7abc',
    500: '#8a429f',
    950: '#000000',
  },
}
SCSS
$custom: #8a429f;
$custom-light: #af7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429f",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 286.452,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.15721,
    "h": 318
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#8A429F
secondary
#8FBA82
accent
#D15772
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A429F

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

Preview Lab → · Contrast checker → · Palette generator →

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