#8A4DA0#8A4DA0

#8A4DA0 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.6% C 0.140 H 316.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A4DA0
RGBrgb(138, 77, 160)
HSLhsl(284, 35%, 46%)
HSVhsv(284, 52%, 63%)
CMYKcmyk(13.8%, 51.9%, 0%, 37.3%)
CIE-LABlab(43.14, 39.89, -34.76)
CIE-LCHlch(43.14, 52.91, 318.93°)
OKLaboklab(52.64% 0.1017 -0.0967)
OKLCHoklch(52.64% 0.14 316.5)
XYZxyz(19.4793, 13.2497, 34.7822)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DA0 #63A04D
analogous
#614DA0 #8A4DA0 #A04D8D
triadic
#8A4DA0 #A08A4D #4DA08A
tetradic
#8A4DA0 #A0614D #63A04D #4D8DA0
square
#8A4DA0 #A0614D #63A04D #4D8DA0
split-complementary
#8A4DA0 #8DA04D #4DA061
monochromatic
#43254D #663977 #8A4DA0 #A770BA #C099CE

Accessibility & contrast

On white

5.75
#8A4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A4DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DA0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DA0#FFFFFF#000000##FFFFFF
##8A4DA01.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#89596F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4da0;
/* rgb */ color: rgb(138, 77, 160);
/* oklch */ color: oklch(52.6% 0.140 316.5);
Tailwind
colors: {
  custom: {
    50: '#ae81bc',
    500: '#8a4da0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4da0;
$custom-light: #ae81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4da0",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 284.096,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.1403,
    "h": 316.5
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#8A4DA0
secondary
#9ABB8E
accent
#CB5D7A
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8A4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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