#8A379C#8A379C

#8A379C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 320.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A379C
RGBrgb(138, 55, 156)
HSLhsl(289, 48%, 41%)
HSVhsv(289, 65%, 61%)
CMYKcmyk(11.5%, 64.7%, 0%, 38.8%)
CIE-LABlab(38.79, 50.16, -39.25)
CIE-LCHlch(38.79, 63.69, 321.95°)
OKLaboklab(49.39% 0.1309 -0.1096)
OKLCHoklch(49.39% 0.171 320.1)
XYZxyz(17.8474, 10.5368, 32.5397)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A379C #499C37
analogous
#58379C #8A379C #9C377C
triadic
#8A379C #9C8A37 #379C8A
tetradic
#8A379C #9C5837 #499C37 #377C9C
square
#8A379C #9C5837 #499C37 #377C9C
split-complementary
#8A379C #7C9C37 #379C58
monochromatic
#3A1742 #62276F #8A379C #AD4FC1 #C27CD1

Accessibility & contrast

On white

6.76
#8A379C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A379C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A379C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A379C#FFFFFF#000000##FFFFFF
##8A379C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B569F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#8B4864
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a379c;
/* rgb */ color: rgb(138, 55, 156);
/* oklch */ color: oklch(49.4% 0.171 320.1);
Tailwind
colors: {
  custom: {
    50: '#af74ba',
    500: '#8a379c',
    950: '#000000',
  },
}
SCSS
$custom: #8a379c;
$custom-light: #af74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a379c",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 289.307,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.17072,
    "h": 320.1
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#8A379C
secondary
#81BA75
accent
#D75068
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A379C

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

Preview Lab → · Contrast checker → · Palette generator →

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