#8A4E8E#8A4E8E

#8A4E8E is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.9% C 0.119 H 324.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A4E8E
RGBrgb(138, 78, 142)
HSLhsl(296, 29%, 43%)
HSVhsv(296, 45%, 56%)
CMYKcmyk(2.8%, 45.1%, 0%, 44.3%)
CIE-LABlab(42.47, 35.57, -25.00)
CIE-LCHlch(42.47, 43.48, 324.90°)
OKLaboklab(51.86% 0.0973 -0.0686)
OKLCHoklch(51.86% 0.119 324.8)
XYZxyz(18.0877, 12.8059, 27.1050)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E8E #528E4E
analogous
#6A4E8E #8A4E8E #8E4E72
triadic
#8A4E8E #8E8A4E #4E8E8A
tetradic
#8A4E8E #8E6A4E #528E4E #4E728E
square
#8A4E8E #8E6A4E #528E4E #4E728E
split-complementary
#8A4E8E #728E4E #4E8E6A
monochromatic
#3D233F #643866 #8A4E8E #AA6BAE #C193C4

Accessibility & contrast

On white

5.90
#8A4E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A4E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E8E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E8E#FFFFFF#000000##FFFFFF
##8A4E8E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476090
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#8D5567
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4e8e;
/* rgb */ color: rgb(138, 78, 142);
/* oklch */ color: oklch(51.9% 0.119 324.8);
Tailwind
colors: {
  custom: {
    50: '#ad81af',
    500: '#8a4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e8e;
$custom-light: #ad81af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e8e",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 296.25,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.11905,
    "h": 324.8
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#8A4E8E
secondary
#8AB088
accent
#C56269
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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