#8A429B#8A429B

#8A429B is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.7% C 0.153 H 319.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A429B
RGBrgb(138, 66, 155)
HSLhsl(289, 40%, 43%)
HSVhsv(289, 57%, 61%)
CMYKcmyk(11%, 57.4%, 0%, 39.2%)
CIE-LABlab(40.68, 44.64, -35.64)
CIE-LCHlch(40.68, 57.12, 321.39°)
OKLaboklab(50.75% 0.1166 -0.0992)
OKLCHoklch(50.75% 0.153 319.6)
XYZxyz(18.3451, 11.6670, 32.2896)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A429B #539B42
analogous
#5D429B #8A429B #9B427F
triadic
#8A429B #9B8A42 #429B8A
tetradic
#8A429B #9B5D42 #539B42 #427F9B
square
#8A429B #9B5D42 #539B42 #427F9B
split-complementary
#8A429B #7F9B42 #429B5D
monochromatic
#3E1D45 #643070 #8A429B #A95FBB #C08ACD

Accessibility & contrast

On white

6.30
#8A429B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A429B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A429B#FFFFFF#000000##FFFFFF
##8A429B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#8B4F68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a429b;
/* rgb */ color: rgb(138, 66, 155);
/* oklch */ color: oklch(50.7% 0.153 319.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ab9',
    500: '#8a429b',
    950: '#000000',
  },
}
SCSS
$custom: #8a429b;
$custom-light: #ae7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a429b",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 288.539,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.15309,
    "h": 319.6
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#8A429B
secondary
#8BB881
accent
#D0586F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A429B

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

Preview Lab → · Contrast checker → · Palette generator →

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