#8A427F#8A427F

#8A427F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.3% C 0.126 H 333.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A427F
RGBrgb(138, 66, 127)
HSLhsl(309, 35%, 40%)
HSVhsv(309, 52%, 54%)
CMYKcmyk(0%, 52.2%, 8%, 45.9%)
CIE-LABlab(39.30, 39.21, -20.78)
CIE-LCHlch(39.30, 44.38, 332.08°)
OKLaboklab(49.28% 0.1126 -0.0564)
OKLCHoklch(49.28% 0.126 333.4)
XYZxyz(16.2602, 10.8331, 21.3091)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A427F #428A4D
analogous
#71428A #8A427F #8A425B
triadic
#8A427F #7F8A42 #427F8A
tetradic
#8A427F #8A7142 #428A4D #425B8A
square
#8A427F #8A7142 #428A4D #425B8A
split-complementary
#8A427F #5B8A42 #428A71
monochromatic
#371A33 #612E59 #8A427F #B059A3 #C483BA

Accessibility & contrast

On white

6.63
#8A427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A427F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A427F#FFFFFF#000000##FFFFFF
##8A427F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#55607D
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a427f;
/* rgb */ color: rgb(138, 66, 127);
/* oklch */ color: oklch(49.3% 0.126 333.4);
Tailwind
colors: {
  custom: {
    50: '#ae79a4',
    500: '#8a427f',
    950: '#000000',
  },
}
SCSS
$custom: #8a427f;
$custom-light: #ae79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a427f",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 309.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.12595,
    "h": 333.4
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#8A427F
secondary
#79AE82
accent
#CB6D5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A427F

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

Preview Lab → · Contrast checker → · Palette generator →

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