#8A4EA8#8A4EA8

#8A4EA8 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.2% C 0.148 H 313.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A4EA8
RGBrgb(138, 78, 168)
HSLhsl(280, 37%, 48%)
HSVhsv(280, 54%, 66%)
CMYKcmyk(17.9%, 53.6%, 0%, 34.1%)
CIE-LABlab(43.77, 41.11, -38.51)
CIE-LCHlch(43.77, 56.33, 316.87°)
OKLaboklab(53.25% 0.1011 -0.1076)
OKLCHoklch(53.25% 0.148 313.2)
XYZxyz(20.2723, 13.6797, 38.6107)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EA8 #6CA84E
analogous
#5D4EA8 #8A4EA8 #A84E99
triadic
#8A4EA8 #A88A4E #4EA88A
tetradic
#8A4EA8 #A85D4E #6CA84E #4E99A8
square
#8A4EA8 #A85D4E #6CA84E #4E99A8
split-complementary
#8A4EA8 #99A84E #4EA85D
monochromatic
#452754 #683B7E #8A4EA8 #A675BF #C19ED2

Accessibility & contrast

On white

5.62
#8A4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A4EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EA8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EA8#FFFFFF#000000##FFFFFF
##8A4EA81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#875D73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4ea8;
/* rgb */ color: rgb(138, 78, 168);
/* oklch */ color: oklch(53.2% 0.148 313.2);
Tailwind
colors: {
  custom: {
    50: '#ae82c2',
    500: '#8a4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ea8;
$custom-light: #ae82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ea8",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 280,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.14762,
    "h": 313.2
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#8A4EA8
secondary
#A2BF93
accent
#CD5B81
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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