#8A3F74#8A3F74

#8A3F74 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.3% C 0.122 H 340.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3F74
RGBrgb(138, 63, 116)
HSLhsl(318, 37%, 39%)
HSVhsv(318, 54%, 54%)
CMYKcmyk(0%, 54.3%, 15.9%, 45.9%)
CIE-LABlab(38.24, 38.88, -15.60)
CIE-LCHlch(38.24, 41.89, 338.13°)
OKLaboklab(48.34% 0.1146 -0.0418)
OKLCHoklch(48.34% 0.122 340)
XYZxyz(15.4113, 10.2204, 17.6807)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F74 #3F8A55
analogous
#7B3F8A #8A3F74 #8A3F4F
triadic
#8A3F74 #748A3F #3F748A
tetradic
#8A3F74 #8A7B3F #3F8A55 #3F4F8A
square
#8A3F74 #8A7B3F #3F8A55 #3F4F8A
split-complementary
#8A3F74 #4F8A3F #3F8A7B
monochromatic
#36192D #602C51 #8A3F74 #B15596 #C57FB0

Accessibility & contrast

On white

6.90
#8A3F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3F74
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F74#FFFFFF#000000##FFFFFF
##8A3F741.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425376
Deuteranopia (green-blind)
#575E72
Tritanopia (blue-blind)
#914154
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3f74;
/* rgb */ color: rgb(138, 63, 116);
/* oklch */ color: oklch(48.3% 0.122 340.0);
Tailwind
colors: {
  custom: {
    50: '#ae779c',
    500: '#8a3f74',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f74;
$custom-light: #ae779c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f74",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 317.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.12201,
    "h": 340
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#8A3F74
secondary
#76AF87
accent
#CD7C5B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3F74

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

Preview Lab → · Contrast checker → · Palette generator →

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