#8A3D7B#8A3D7B

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

Color values

HEX#8A3D7B
RGBrgb(138, 61, 123)
HSLhsl(312, 39%, 39%)
HSVhsv(312, 56%, 54%)
CMYKcmyk(0%, 55.8%, 10.9%, 45.9%)
CIE-LABlab(38.15, 41.09, -20.08)
CIE-LCHlch(38.15, 45.73, 333.95°)
OKLaboklab(48.37% 0.1193 -0.0544)
OKLCHoklch(48.37% 0.131 335.5)
XYZxyz(15.7252, 10.1720, 19.8702)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D7B #3D8A4C
analogous
#733D8A #8A3D7B #8A3D55
triadic
#8A3D7B #7B8A3D #3D7B8A
tetradic
#8A3D7B #8A733D #3D8A4C #3D558A
square
#8A3D7B #8A733D #3D8A4C #3D558A
split-complementary
#8A3D7B #558A3D #3D8A73
monochromatic
#35172F #602A55 #8A3D7B #B252A0 #C57CB7

Accessibility & contrast

On white

6.92
#8A3D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D7B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D7B#FFFFFF#000000##FFFFFF
##8A3D7B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537D
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#904156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3d7b;
/* rgb */ color: rgb(138, 61, 123);
/* oklch */ color: oklch(48.4% 0.131 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae76a1',
    500: '#8a3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d7b;
$custom-light: #ae76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d7b",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 311.688,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.13109,
    "h": 335.5
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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