#8A378F#8A378F

#8A378F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.158 H 325.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A378F
RGBrgb(138, 55, 143)
HSLhsl(297, 44%, 39%)
HSVhsv(297, 62%, 56%)
CMYKcmyk(3.5%, 61.5%, 0%, 43.9%)
CIE-LABlab(38.06, 47.63, -32.53)
CIE-LCHlch(38.06, 57.68, 325.67°)
OKLaboklab(48.62% 0.1304 -0.09)
OKLCHoklch(48.62% 0.158 325.4)
XYZxyz(16.8050, 10.1198, 27.0494)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A378F #3C8F37
analogous
#5E378F #8A378F #8F3768
triadic
#8A378F #8F8A37 #378F8A
tetradic
#8A378F #8F5E37 #3C8F37 #37688F
square
#8A378F #8F5E37 #3C8F37 #37688F
split-complementary
#8A378F #688F37 #378F5E
monochromatic
#351537 #5F2663 #8A378F #B34AB9 #C676CA

Accessibility & contrast

On white

6.94
#8A378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A378F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A378F#FFFFFF#000000##FFFFFF
##8A378F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#8D435E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a378f;
/* rgb */ color: rgb(138, 55, 143);
/* oklch */ color: oklch(48.6% 0.158 325.4);
Tailwind
colors: {
  custom: {
    50: '#af73b0',
    500: '#8a378f',
    950: '#000000',
  },
}
SCSS
$custom: #8a378f;
$custom-light: #af73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a378f",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 296.591,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.15848,
    "h": 325.4
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#8A378F
secondary
#73B36F
accent
#D4545B
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A378F

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

Preview Lab → · Contrast checker → · Palette generator →

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