#8A427D#8A427D

#8A427D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.124 H 334.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A427D
RGBrgb(138, 66, 125)
HSLhsl(311, 35%, 40%)
HSVhsv(311, 52%, 54%)
CMYKcmyk(0%, 52.2%, 9.4%, 45.9%)
CIE-LABlab(39.21, 38.86, -19.68)
CIE-LCHlch(39.21, 43.55, 333.14°)
OKLaboklab(49.19% 0.1122 -0.0533)
OKLCHoklch(49.19% 0.124 334.6)
XYZxyz(16.1311, 10.7815, 20.6295)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A427D #428A4F
analogous
#73428A #8A427D #8A4259
triadic
#8A427D #7D8A42 #427D8A
tetradic
#8A427D #8A7342 #428A4F #42598A
square
#8A427D #8A7342 #428A4F #42598A
split-complementary
#8A427D #598A42 #428A73
monochromatic
#371A32 #612E58 #8A427D #B059A0 #C483B8

Accessibility & contrast

On white

6.65
#8A427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A427D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A427D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A427D#FFFFFF#000000##FFFFFF
##8A427D1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a427d;
/* rgb */ color: rgb(138, 66, 125);
/* oklch */ color: oklch(49.2% 0.124 334.6);
Tailwind
colors: {
  custom: {
    50: '#ae79a2',
    500: '#8a427d',
    950: '#000000',
  },
}
SCSS
$custom: #8a427d;
$custom-light: #ae79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a427d",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 310.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.12421,
    "h": 334.6
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#8A427D
secondary
#79AE83
accent
#CB705C
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A427D

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

Preview Lab → · Contrast checker → · Palette generator →

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