#8A387D#8A387D

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

Color values

HEX#8A387D
RGBrgb(138, 56, 125)
HSLhsl(310, 42%, 38%)
HSVhsv(310, 59%, 54%)
CMYKcmyk(0%, 59.4%, 9.4%, 45.9%)
CIE-LABlab(37.32, 43.90, -22.60)
CIE-LCHlch(37.32, 49.38, 332.76°)
OKLaboklab(47.79% 0.1269 -0.0615)
OKLCHoklch(47.79% 0.141 334.1)
XYZxyz(15.5971, 9.7134, 20.4515)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A387D #388A45
analogous
#6E388A #8A387D #8A3854
triadic
#8A387D #7D8A38 #387D8A
tetradic
#8A387D #8A6E38 #388A45 #38548A
square
#8A387D #8A6E38 #388A45 #38548A
split-complementary
#8A387D #548A38 #388A6E
monochromatic
#33152E #5E2656 #8A387D #B54AA4 #C775BA

Accessibility & contrast

On white

7.14
#8A387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A387D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A387D#FFFFFF#000000##FFFFFF
##8A387D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#903D55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a387d;
/* rgb */ color: rgb(138, 56, 125);
/* oklch */ color: oklch(47.8% 0.141 334.1);
Tailwind
colors: {
  custom: {
    50: '#ae73a3',
    500: '#8a387d',
    950: '#000000',
  },
}
SCSS
$custom: #8a387d;
$custom-light: #ae73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a387d",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 309.512,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.14099,
    "h": 334.1
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#8A387D
secondary
#6EB078
accent
#D26956
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A387D

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

Preview Lab → · Contrast checker → · Palette generator →

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