#8A3E72#8A3E72

#8A3E72 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.1% C 0.122 H 341.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A3E72
RGBrgb(138, 62, 114)
HSLhsl(319, 38%, 39%)
HSVhsv(319, 55%, 54%)
CMYKcmyk(0%, 55.1%, 17.4%, 45.9%)
CIE-LABlab(37.96, 39.07, -14.78)
CIE-LCHlch(37.96, 41.77, 339.27°)
OKLaboklab(48.1% 0.1156 -0.0395)
OKLCHoklch(48.1% 0.122 341.1)
XYZxyz(15.2414, 10.0646, 17.0563)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E72 #3E8A56
analogous
#7C3E8A #8A3E72 #8A3E4C
triadic
#8A3E72 #728A3E #3E728A
tetradic
#8A3E72 #8A7C3E #3E8A56 #3E4C8A
square
#8A3E72 #8A7C3E #3E8A56 #3E4C8A
split-complementary
#8A3E72 #4C8A3E #3E8A7C
monochromatic
#36182C #602B4F #8A3E72 #B25394 #C57EAE

Accessibility & contrast

On white

6.97
#8A3E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A3E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E72
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E72#FFFFFF#000000##FFFFFF
##8A3E721.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425274
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#923F53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3e72;
/* rgb */ color: rgb(138, 62, 114);
/* oklch */ color: oklch(48.1% 0.122 341.1);
Tailwind
colors: {
  custom: {
    50: '#ae779a',
    500: '#8a3e72',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e72;
$custom-light: #ae779a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e72",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 318.947,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.12221,
    "h": 341.1
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#8A3E72
secondary
#75AF87
accent
#CE7F5A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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