#8A4EA3#8A4EA3

#8A4EA3 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.142 H 315.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A4EA3
RGBrgb(138, 78, 163)
HSLhsl(282, 35%, 47%)
HSVhsv(282, 52%, 64%)
CMYKcmyk(15.3%, 52.1%, 0%, 36.1%)
CIE-LABlab(43.50, 40.00, -35.97)
CIE-LCHlch(43.50, 53.79, 318.04°)
OKLaboklab(52.96% 0.1006 -0.1002)
OKLCHoklch(52.96% 0.142 315.1)
XYZxyz(19.8154, 13.4970, 36.2046)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EA3 #67A34E
analogous
#604EA3 #8A4EA3 #A34E92
triadic
#8A4EA3 #A38A4E #4EA38A
tetradic
#8A4EA3 #A3604E #67A34E #4E92A3
square
#8A4EA3 #A3604E #67A34E #4E92A3
split-complementary
#8A4EA3 #92A34E #4EA360
monochromatic
#442650 #673A7A #8A4EA3 #A672BC #C09CD0

Accessibility & contrast

On white

5.68
#8A4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A4EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EA3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EA3#FFFFFF#000000##FFFFFF
##8A4EA31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#4E68A1
Tritanopia (blue-blind)
#885B71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4ea3;
/* rgb */ color: rgb(138, 78, 163);
/* oklch */ color: oklch(53.0% 0.142 315.1);
Tailwind
colors: {
  custom: {
    50: '#ae82be',
    500: '#8a4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ea3;
$custom-light: #ae82be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ea3",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 282.353,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.14196,
    "h": 315.1
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#8A4EA3
secondary
#9DBC91
accent
#CB5C7D
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8A4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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