#8A377D#8A377D

#8A377D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.143 H 334.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A377D
RGBrgb(138, 55, 125)
HSLhsl(309, 43%, 38%)
HSVhsv(309, 60%, 54%)
CMYKcmyk(0%, 60.1%, 9.4%, 45.9%)
CIE-LABlab(37.15, 44.38, -22.88)
CIE-LCHlch(37.15, 49.93, 332.73°)
OKLaboklab(47.66% 0.1283 -0.0623)
OKLCHoklch(47.66% 0.143 334.1)
XYZxyz(15.5492, 9.6175, 20.4355)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A377D #378A44
analogous
#6E378A #8A377D #8A3753
triadic
#8A377D #7D8A37 #377D8A
tetradic
#8A377D #8A6E37 #378A44 #37538A
square
#8A377D #8A6E37 #378A44 #37538A
split-complementary
#8A377D #538A37 #378A6E
monochromatic
#32142E #5E2655 #8A377D #B648A5 #C874BA

Accessibility & contrast

On white

7.18
#8A377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A377D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A377D#FFFFFF#000000##FFFFFF
##8A377D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#903C55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a377d;
/* rgb */ color: rgb(138, 55, 125);
/* oklch */ color: oklch(47.7% 0.143 334.1);
Tailwind
colors: {
  custom: {
    50: '#af73a3',
    500: '#8a377d',
    950: '#000000',
  },
}
SCSS
$custom: #8a377d;
$custom-light: #af73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a377d",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 309.398,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.14259,
    "h": 334.1
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#8A377D
secondary
#6DB077
accent
#D36955
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A377D

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

Preview Lab → · Contrast checker → · Palette generator →

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