#8A378E#8A378E

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

Color values

HEX#8A378E
RGBrgb(138, 55, 142)
HSLhsl(297, 44%, 39%)
HSVhsv(297, 61%, 56%)
CMYKcmyk(2.8%, 61.3%, 0%, 44.3%)
CIE-LABlab(38.00, 47.44, -32.00)
CIE-LCHlch(38.00, 57.22, 326.00°)
OKLaboklab(48.57% 0.1303 -0.0885)
OKLCHoklch(48.57% 0.158 325.8)
XYZxyz(16.7296, 10.0896, 26.6523)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A378E #3B8E37
analogous
#5E378E #8A378E #8E3766
triadic
#8A378E #8E8A37 #378E8A
tetradic
#8A378E #8E5E37 #3B8E37 #37668E
square
#8A378E #8E5E37 #3B8E37 #37668E
split-complementary
#8A378E #668E37 #378E5E
monochromatic
#341536 #5F2662 #8A378E #B449B9 #C676CA

Accessibility & contrast

On white

6.96
#8A378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A378E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A378E#FFFFFF#000000##FFFFFF
##8A378E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#8D435D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a378e;
/* rgb */ color: rgb(138, 55, 142);
/* oklch */ color: oklch(48.6% 0.158 325.8);
Tailwind
colors: {
  custom: {
    50: '#af73af',
    500: '#8a378e',
    950: '#000000',
  },
}
SCSS
$custom: #8a378e;
$custom-light: #af73af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a378e",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 297.241,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.15755,
    "h": 325.8
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#8A378E
secondary
#71B36E
accent
#D4545A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A378E

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

Preview Lab → · Contrast checker → · Palette generator →

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