#8A379B#8A379B

#8A379B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.170 H 320.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A379B
RGBrgb(138, 55, 155)
HSLhsl(290, 48%, 41%)
HSVhsv(290, 65%, 61%)
CMYKcmyk(11%, 64.5%, 0%, 39.2%)
CIE-LABlab(38.73, 49.96, -38.74)
CIE-LCHlch(38.73, 63.22, 322.21°)
OKLaboklab(49.33% 0.1309 -0.1081)
OKLCHoklch(49.33% 0.17 320.5)
XYZxyz(17.7631, 10.5031, 32.0956)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A379B #489B37
analogous
#58379B #8A379B #9B377A
triadic
#8A379B #9B8A37 #379B8A
tetradic
#8A379B #9B5837 #489B37 #377A9B
square
#8A379B #9B5837 #489B37 #377A9B
split-complementary
#8A379B #7A9B37 #379B58
monochromatic
#3A1741 #62276E #8A379B #AD4FC0 #C27CD0

Accessibility & contrast

On white

6.77
#8A379B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A379B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A379B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A379B#FFFFFF#000000##FFFFFF
##8A379B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#8B4864
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a379b;
/* rgb */ color: rgb(138, 55, 155);
/* oklch */ color: oklch(49.3% 0.170 320.5);
Tailwind
colors: {
  custom: {
    50: '#af74b9',
    500: '#8a379b',
    950: '#000000',
  },
}
SCSS
$custom: #8a379b;
$custom-light: #af74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a379b",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 289.8,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.16977,
    "h": 320.5
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#8A379B
secondary
#80BA74
accent
#D75167
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A379B

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

Preview Lab → · Contrast checker → · Palette generator →

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