#8A3F75#8A3F75

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

Color values

HEX#8A3F75
RGBrgb(138, 63, 117)
HSLhsl(317, 37%, 39%)
HSVhsv(317, 54%, 54%)
CMYKcmyk(0%, 54.3%, 15.2%, 45.9%)
CIE-LABlab(38.28, 39.04, -16.16)
CIE-LCHlch(38.28, 42.26, 337.51°)
OKLaboklab(48.38% 0.1149 -0.0434)
OKLCHoklch(48.38% 0.123 339.3)
XYZxyz(15.4698, 10.2438, 17.9886)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F75 #3F8A54
analogous
#7A3F8A #8A3F75 #8A3F50
triadic
#8A3F75 #758A3F #3F758A
tetradic
#8A3F75 #8A7A3F #3F8A54 #3F508A
square
#8A3F75 #8A7A3F #3F8A54 #3F508A
split-complementary
#8A3F75 #508A3F #3F8A7A
monochromatic
#36192E #602C51 #8A3F75 #B15597 #C57FB1

Accessibility & contrast

On white

6.89
#8A3F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3F75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F75
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F75#FFFFFF#000000##FFFFFF
##8A3F751.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3f75;
/* rgb */ color: rgb(138, 63, 117);
/* oklch */ color: oklch(48.4% 0.123 339.3);
Tailwind
colors: {
  custom: {
    50: '#ae779d',
    500: '#8a3f75',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f75;
$custom-light: #ae779d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f75",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 117
  },
  "hsl": {
    "h": 316.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.1228,
    "h": 339.3
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#8A3F75
secondary
#76AF86
accent
#CD7B5B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3F75

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

Preview Lab → · Contrast checker → · Palette generator →

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