#8A4E8F#8A4E8F

#8A4E8F is a mid, vivid purple. Relative luminance 0.128; OKLCH L 51.9% C 0.120 H 324.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A4E8F
RGBrgb(138, 78, 143)
HSLhsl(295, 29%, 43%)
HSVhsv(295, 45%, 56%)
CMYKcmyk(3.5%, 45.5%, 0%, 43.9%)
CIE-LABlab(42.52, 35.78, -25.54)
CIE-LCHlch(42.52, 43.96, 324.48°)
OKLaboklab(51.91% 0.0975 -0.0701)
OKLCHoklch(51.91% 0.12 324.3)
XYZxyz(18.1631, 12.8360, 27.5021)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E8F #538F4E
analogous
#694E8F #8A4E8F #8F4E73
triadic
#8A4E8F #8F8A4E #4E8F8A
tetradic
#8A4E8F #8F694E #538F4E #4E738F
square
#8A4E8F #8F694E #538F4E #4E738F
split-complementary
#8A4E8F #738F4E #4E8F69
monochromatic
#3E2340 #643867 #8A4E8F #A96CAF #C093C4

Accessibility & contrast

On white

5.89
#8A4E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A4E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E8F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E8F#FFFFFF#000000##FFFFFF
##8A4E8F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#57678D
Tritanopia (blue-blind)
#8C5568
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4e8f;
/* rgb */ color: rgb(138, 78, 143);
/* oklch */ color: oklch(51.9% 0.120 324.3);
Tailwind
colors: {
  custom: {
    50: '#ad81b0',
    500: '#8a4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e8f;
$custom-light: #ad81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e8f",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 295.385,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.12009,
    "h": 324.3
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#8A4E8F
secondary
#8BB188
accent
#C6626A
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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