#8A3E71#8A3E71

#8A3E71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.1% C 0.121 H 341.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A3E71
RGBrgb(138, 62, 113)
HSLhsl(320, 38%, 39%)
HSVhsv(320, 55%, 54%)
CMYKcmyk(0%, 55.1%, 18.1%, 45.9%)
CIE-LABlab(37.92, 38.90, -14.22)
CIE-LCHlch(37.92, 41.42, 339.92°)
OKLaboklab(48.06% 0.1154 -0.038)
OKLCHoklch(48.06% 0.121 341.8)
XYZxyz(15.1848, 10.0420, 16.7581)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E71 #3E8A57
analogous
#7D3E8A #8A3E71 #8A3E4B
triadic
#8A3E71 #718A3E #3E718A
tetradic
#8A3E71 #8A7D3E #3E8A57 #3E4B8A
square
#8A3E71 #8A7D3E #3E8A57 #3E4B8A
split-complementary
#8A3E71 #4B8A3E #3E8A7D
monochromatic
#36182C #602B4E #8A3E71 #B25393 #C57EAD

Accessibility & contrast

On white

6.98
#8A3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3E71
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E71#FFFFFF#000000##FFFFFF
##8A3E711.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#923F52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3e71;
/* rgb */ color: rgb(138, 62, 113);
/* oklch */ color: oklch(48.1% 0.121 341.8);
Tailwind
colors: {
  custom: {
    50: '#ae779a',
    500: '#8a3e71',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e71;
$custom-light: #ae779a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e71",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 319.737,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.12147,
    "h": 341.8
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#8A3E71
secondary
#75AF88
accent
#CE805A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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