#8A387E#8A387E

#8A387E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.8% C 0.142 H 333.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A387E
RGBrgb(138, 56, 126)
HSLhsl(309, 42%, 38%)
HSVhsv(309, 59%, 54%)
CMYKcmyk(0%, 59.4%, 8.7%, 45.9%)
CIE-LABlab(37.37, 44.07, -23.15)
CIE-LCHlch(37.37, 49.78, 332.29°)
OKLaboklab(47.84% 0.127 -0.0631)
OKLCHoklch(47.84% 0.142 333.6)
XYZxyz(15.6613, 9.7391, 20.7896)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A387E #388A44
analogous
#6D388A #8A387E #8A3855
triadic
#8A387E #7E8A38 #387E8A
tetradic
#8A387E #8A6D38 #388A44 #38558A
square
#8A387E #8A6D38 #388A44 #38558A
split-complementary
#8A387E #558A38 #388A6D
monochromatic
#33152F #5E2656 #8A387E #B54AA6 #C775BB

Accessibility & contrast

On white

7.12
#8A387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A387E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A387E#FFFFFF#000000##FFFFFF
##8A387E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#903E56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a387e;
/* rgb */ color: rgb(138, 56, 126);
/* oklch */ color: oklch(47.8% 0.142 333.6);
Tailwind
colors: {
  custom: {
    50: '#ae73a3',
    500: '#8a387e',
    950: '#000000',
  },
}
SCSS
$custom: #8a387e;
$custom-light: #ae73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a387e",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 308.78,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.14183,
    "h": 333.6
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#8A387E
secondary
#6EB077
accent
#D26856
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A387E

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

Preview Lab → · Contrast checker → · Palette generator →

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