#8A396D#8A396D

#8A396D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.2% C 0.127 H 343.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A396D
RGBrgb(138, 57, 109)
HSLhsl(321, 42%, 38%)
HSVhsv(321, 59%, 54%)
CMYKcmyk(0%, 58.7%, 21%, 45.9%)
CIE-LABlab(36.81, 40.80, -13.41)
CIE-LCHlch(36.81, 42.94, 341.81°)
OKLaboklab(47.18% 0.1219 -0.0357)
OKLCHoklch(47.18% 0.127 343.7)
XYZxyz(14.7051, 9.4349, 15.5117)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A396D #398A56
analogous
#7E398A #8A396D #8A3945
triadic
#8A396D #6D8A39 #396D8A
tetradic
#8A396D #8A7E39 #398A56 #39458A
square
#8A396D #8A7E39 #398A56 #39458A
split-complementary
#8A396D #458A39 #398A7E
monochromatic
#331529 #5F274B #8A396D #B54B8F #C777AA

Accessibility & contrast

On white

7.27
#8A396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A396D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A396D#FFFFFF#000000##FFFFFF
##8A396D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#565C6B
Tritanopia (blue-blind)
#92394E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a396d;
/* rgb */ color: rgb(138, 57, 109);
/* oklch */ color: oklch(47.2% 0.127 343.7);
Tailwind
colors: {
  custom: {
    50: '#af7497',
    500: '#8a396d',
    950: '#000000',
  },
}
SCSS
$custom: #8a396d;
$custom-light: #af7497;
$custom-dark: #000000;
JSON
{
  "hex": "#8a396d",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 321.481,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.12701,
    "h": 343.7
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#8A396D
secondary
#6FB086
accent
#D18256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A396D

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

Preview Lab → · Contrast checker → · Palette generator →

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