#8A3D74#8A3D74

#8A3D74 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.0% C 0.125 H 339.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A3D74
RGBrgb(138, 61, 116)
HSLhsl(317, 39%, 39%)
HSVhsv(317, 56%, 54%)
CMYKcmyk(0%, 55.8%, 15.9%, 45.9%)
CIE-LABlab(37.85, 39.90, -16.20)
CIE-LCHlch(37.85, 43.07, 337.91°)
OKLaboklab(48.05% 0.1177 -0.0435)
OKLCHoklch(48.05% 0.125 339.7)
XYZxyz(15.3026, 10.0029, 17.6444)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D74 #3D8A53
analogous
#7A3D8A #8A3D74 #8A3D4E
triadic
#8A3D74 #748A3D #3D748A
tetradic
#8A3D74 #8A7A3D #3D8A53 #3D4E8A
square
#8A3D74 #8A7A3D #3D8A53 #3D4E8A
split-complementary
#8A3D74 #4E8A3D #3D8A7A
monochromatic
#35172D #602A50 #8A3D74 #B25297 #C57CB0

Accessibility & contrast

On white

7.00
#8A3D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A3D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D74
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D74#FFFFFF#000000##FFFFFF
##8A3D741.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#565E72
Tritanopia (blue-blind)
#913F53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3d74;
/* rgb */ color: rgb(138, 61, 116);
/* oklch */ color: oklch(48.0% 0.125 339.7);
Tailwind
colors: {
  custom: {
    50: '#ae769c',
    500: '#8a3d74',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d74;
$custom-light: #ae769c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d74",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 317.143,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.12544,
    "h": 339.7
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#8A3D74
secondary
#74AF85
accent
#CF7B59
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3D74

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

Preview Lab → · Contrast checker → · Palette generator →

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