#8A4DA2#8A4DA2

#8A4DA2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.8% C 0.143 H 315.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A4DA2
RGBrgb(138, 77, 162)
HSLhsl(283, 36%, 47%)
HSVhsv(283, 52%, 64%)
CMYKcmyk(14.8%, 52.5%, 0%, 36.5%)
CIE-LABlab(43.24, 40.33, -35.78)
CIE-LCHlch(43.24, 53.91, 318.41°)
OKLaboklab(52.75% 0.1019 -0.0996)
OKLCHoklch(52.75% 0.143 315.6)
XYZxyz(19.6557, 13.3203, 35.7111)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DA2 #65A24D
analogous
#604DA2 #8A4DA2 #A24D90
triadic
#8A4DA2 #A28A4D #4DA28A
tetradic
#8A4DA2 #A2604D #65A24D #4D90A2
square
#8A4DA2 #A2604D #65A24D #4D90A2
split-complementary
#8A4DA2 #90A24D #4DA260
monochromatic
#43264F #673979 #8A4DA2 #A671BB #C09ACF

Accessibility & contrast

On white

5.73
#8A4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A4DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DA2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DA2#FFFFFF#000000##FFFFFF
##8A4DA21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#895A70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4da2;
/* rgb */ color: rgb(138, 77, 162);
/* oklch */ color: oklch(52.8% 0.143 315.6);
Tailwind
colors: {
  custom: {
    50: '#ae81be',
    500: '#8a4da2',
    950: '#000000',
  },
}
SCSS
$custom: #8a4da2;
$custom-light: #ae81be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4da2",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 283.059,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.14252,
    "h": 315.6
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#8A4DA2
secondary
#9CBC8F
accent
#CC5C7C
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8A4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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