#8A378A#8A378A

#8A378A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.3% C 0.154 H 327.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A378A
RGBrgb(138, 55, 138)
HSLhsl(300, 43%, 38%)
HSVhsv(300, 60%, 54%)
CMYKcmyk(0%, 60.1%, 0%, 45.9%)
CIE-LABlab(37.79, 46.69, -29.89)
CIE-LCHlch(37.79, 55.44, 327.38°)
OKLaboklab(48.34% 0.13 -0.0824)
OKLCHoklch(48.34% 0.154 327.6)
XYZxyz(16.4346, 9.9717, 25.0989)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A378A #378A37
analogous
#60378A #8A378A #8A3760
triadic
#8A378A #8A8A37 #378A8A
tetradic
#8A378A #8A6037 #378A37 #37608A
square
#8A378A #8A6037 #378A37 #37608A
split-complementary
#8A378A #608A37 #378A60
monochromatic
#321432 #5E265E #8A378A #B648B6 #C874C8

Accessibility & contrast

On white

7.01
#8A378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A378A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A378A#FFFFFF#000000##FFFFFF
##8A378A1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#8E415B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a378a;
/* rgb */ color: rgb(138, 55, 138);
/* oklch */ color: oklch(48.3% 0.154 327.6);
Tailwind
colors: {
  custom: {
    50: '#af73ac',
    500: '#8a378a',
    950: '#000000',
  },
}
SCSS
$custom: #8a378a;
$custom-light: #af73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a378a",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.1539,
    "h": 327.6
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#8A378A
secondary
#6DB06D
accent
#D35555
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A378A

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

Preview Lab → · Contrast checker → · Palette generator →

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