#8A4E85#8A4E85

#8A4E85 is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.4% C 0.110 H 330.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A4E85
RGBrgb(138, 78, 133)
HSLhsl(305, 28%, 42%)
HSVhsv(305, 43%, 54%)
CMYKcmyk(0%, 43.5%, 3.6%, 45.9%)
CIE-LABlab(42.07, 33.81, -20.17)
CIE-LCHlch(42.07, 39.37, 329.19°)
OKLaboklab(51.43% 0.0953 -0.0548)
OKLCHoklch(51.43% 0.11 330.1)
XYZxyz(17.4390, 12.5464, 23.6889)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E85 #4E8A53
analogous
#714E8A #8A4E85 #8A4E67
triadic
#8A4E85 #858A4E #4E858A
tetradic
#8A4E85 #8A714E #4E8A53 #4E678A
square
#8A4E85 #8A714E #4E8A53 #4E678A
split-complementary
#8A4E85 #678A4E #4E8A71
monochromatic
#3C223A #63385F #8A4E85 #AB6AA6 #C191BD

Accessibility & contrast

On white

5.98
#8A4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A4E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E85
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E85#FFFFFF#000000##FFFFFF
##8A4E851.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#5B6683
Tritanopia (blue-blind)
#8E5363
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e85;
/* rgb */ color: rgb(138, 78, 133);
/* oklch */ color: oklch(51.4% 0.110 330.1);
Tailwind
colors: {
  custom: {
    50: '#ad81a8',
    500: '#8a4e85',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e85;
$custom-light: #ad81a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e85",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 305,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.10995,
    "h": 330.1
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#8A4E85
secondary
#86AE8A
accent
#C46C64
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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