#8A377F#8A377F

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

Color values

HEX#8A377F
RGBrgb(138, 55, 127)
HSLhsl(308, 43%, 38%)
HSVhsv(308, 60%, 54%)
CMYKcmyk(0%, 60.1%, 8%, 45.9%)
CIE-LABlab(37.24, 44.72, -23.97)
CIE-LCHlch(37.24, 50.74, 331.81°)
OKLaboklab(47.76% 0.1286 -0.0654)
OKLCHoklch(47.76% 0.144 333)
XYZxyz(15.6782, 9.6691, 21.1151)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A377F #378A42
analogous
#6B378A #8A377F #8A3755
triadic
#8A377F #7F8A37 #377F8A
tetradic
#8A377F #8A6B37 #378A42 #37558A
square
#8A377F #8A6B37 #378A42 #37558A
split-complementary
#8A377F #558A37 #378A6B
monochromatic
#32142E #5E2657 #8A377F #B648A7 #C874BC

Accessibility & contrast

On white

7.16
#8A377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A377F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A377F#FFFFFF#000000##FFFFFF
##8A377F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#903D56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a377f;
/* rgb */ color: rgb(138, 55, 127);
/* oklch */ color: oklch(47.8% 0.144 333.0);
Tailwind
colors: {
  custom: {
    50: '#af73a4',
    500: '#8a377f',
    950: '#000000',
  },
}
SCSS
$custom: #8a377f;
$custom-light: #af73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a377f",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 307.952,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.14427,
    "h": 333
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#8A377F
secondary
#6DB075
accent
#D36655
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A377F

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

Preview Lab → · Contrast checker → · Palette generator →

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