#8A378B#8A378B

#8A378B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.155 H 327.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A378B
RGBrgb(138, 55, 139)
HSLhsl(299, 43%, 38%)
HSVhsv(299, 60%, 55%)
CMYKcmyk(0.7%, 60.4%, 0%, 45.5%)
CIE-LABlab(37.84, 46.88, -30.42)
CIE-LCHlch(37.84, 55.88, 327.02°)
OKLaboklab(48.4% 0.1301 -0.0839)
OKLCHoklch(48.4% 0.155 327.2)
XYZxyz(16.5073, 10.0008, 25.4820)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A378B #388B37
analogous
#60378B #8A378B #8B3762
triadic
#8A378B #8B8A37 #378B8A
tetradic
#8A378B #8B6037 #388B37 #37628B
square
#8A378B #8B6037 #388B37 #37628B
split-complementary
#8A378B #628B37 #378B60
monochromatic
#331433 #5E265F #8A378B #B548B7 #C774C8

Accessibility & contrast

On white

7.00
#8A378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A378B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A378B#FFFFFF#000000##FFFFFF
##8A378B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a378b;
/* rgb */ color: rgb(138, 55, 139);
/* oklch */ color: oklch(48.4% 0.155 327.2);
Tailwind
colors: {
  custom: {
    50: '#af73ad',
    500: '#8a378b',
    950: '#000000',
  },
}
SCSS
$custom: #8a378b;
$custom-light: #af73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a378b",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 299.286,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.15481,
    "h": 327.2
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#8A378B
secondary
#6EB16D
accent
#D35556
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A378B

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

Preview Lab → · Contrast checker → · Palette generator →

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