#8A377E#8A377E

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

Color values

HEX#8A377E
RGBrgb(138, 55, 126)
HSLhsl(309, 43%, 38%)
HSVhsv(309, 60%, 54%)
CMYKcmyk(0%, 60.1%, 8.7%, 45.9%)
CIE-LABlab(37.19, 44.55, -23.42)
CIE-LCHlch(37.19, 50.33, 332.27°)
OKLaboklab(47.71% 0.1284 -0.0638)
OKLCHoklch(47.71% 0.143 333.6)
XYZxyz(15.6134, 9.6432, 20.7736)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A377E #378A43
analogous
#6C378A #8A377E #8A3754
triadic
#8A377E #7E8A37 #377E8A
tetradic
#8A377E #8A6C37 #378A43 #37548A
square
#8A377E #8A6C37 #378A43 #37548A
split-complementary
#8A377E #548A37 #378A6C
monochromatic
#32142E #5E2656 #8A377E #B648A6 #C874BB

Accessibility & contrast

On white

7.17
#8A377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A377E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A377E#FFFFFF#000000##FFFFFF
##8A377E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#903D55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a377e;
/* rgb */ color: rgb(138, 55, 126);
/* oklch */ color: oklch(47.7% 0.143 333.6);
Tailwind
colors: {
  custom: {
    50: '#af73a3',
    500: '#8a377e',
    950: '#000000',
  },
}
SCSS
$custom: #8a377e;
$custom-light: #af73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a377e",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 308.675,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47712,
    "c": 0.14342,
    "h": 333.6
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#8A377E
secondary
#6DB076
accent
#D36755
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A377E

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

Preview Lab → · Contrast checker → · Palette generator →

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