#8A378C#8A378C

#8A378C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.156 H 326.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A378C
RGBrgb(138, 55, 140)
HSLhsl(299, 44%, 38%)
HSVhsv(299, 61%, 55%)
CMYKcmyk(1.4%, 60.7%, 0%, 45.1%)
CIE-LABlab(37.90, 47.07, -30.95)
CIE-LCHlch(37.90, 56.33, 326.68°)
OKLaboklab(48.45% 0.1302 -0.0854)
OKLCHoklch(48.45% 0.156 326.7)
XYZxyz(16.5807, 10.0301, 25.8685)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A378C #398C37
analogous
#5F378C #8A378C #8C3763
triadic
#8A378C #8C8A37 #378C8A
tetradic
#8A378C #8C5F37 #398C37 #37638C
square
#8A378C #8C5F37 #398C37 #37638C
split-complementary
#8A378C #638C37 #378C5F
monochromatic
#331434 #5F2660 #8A378C #B549B7 #C775C9

Accessibility & contrast

On white

6.99
#8A378C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A378C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A378C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A378C#FFFFFF#000000##FFFFFF
##8A378C1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#8E425C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a378c;
/* rgb */ color: rgb(138, 55, 140);
/* oklch */ color: oklch(48.5% 0.156 326.7);
Tailwind
colors: {
  custom: {
    50: '#af73ae',
    500: '#8a378c',
    950: '#000000',
  },
}
SCSS
$custom: #8a378c;
$custom-light: #af73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a378c",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 298.588,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.15572,
    "h": 326.7
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#8A378C
secondary
#6FB16D
accent
#D35457
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A378C

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

Preview Lab → · Contrast checker → · Palette generator →

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