#8A3D7C#8A3D7C

#8A3D7C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.4% C 0.132 H 334.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A3D7C
RGBrgb(138, 61, 124)
HSLhsl(311, 39%, 39%)
HSVhsv(311, 56%, 54%)
CMYKcmyk(0%, 55.8%, 10.1%, 45.9%)
CIE-LABlab(38.19, 41.26, -20.63)
CIE-LCHlch(38.19, 46.13, 333.43°)
OKLaboklab(48.42% 0.1195 -0.056)
OKLCHoklch(48.42% 0.132 334.9)
XYZxyz(15.7881, 10.1971, 20.2016)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D7C #3D8A4B
analogous
#723D8A #8A3D7C #8A3D56
triadic
#8A3D7C #7C8A3D #3D7C8A
tetradic
#8A3D7C #8A723D #3D8A4B #3D568A
square
#8A3D7C #8A723D #3D8A4B #3D568A
split-complementary
#8A3D7C #568A3D #3D8A72
monochromatic
#351730 #602A56 #8A3D7C #B252A1 #C57CB8

Accessibility & contrast

On white

6.91
#8A3D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A3D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D7C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D7C#FFFFFF#000000##FFFFFF
##8A3D7C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#904157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3d7c;
/* rgb */ color: rgb(138, 61, 124);
/* oklch */ color: oklch(48.4% 0.132 334.9);
Tailwind
colors: {
  custom: {
    50: '#ae76a2',
    500: '#8a3d7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d7c;
$custom-light: #ae76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d7c",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 310.909,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.13193,
    "h": 334.9
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#8A3D7C
secondary
#74AF7F
accent
#CF6F59
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090F
muted
#807B7E

Preview Lab

Preview with #8A3D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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