#8A50A5#8A50A5

#8A50A5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.4% C 0.141 H 314.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A50A5
RGBrgb(138, 80, 165)
HSLhsl(281, 35%, 48%)
HSVhsv(281, 52%, 65%)
CMYKcmyk(16.4%, 51.5%, 0%, 35.3%)
CIE-LABlab(44.03, 39.35, -36.32)
CIE-LCHlch(44.03, 53.55, 317.29°)
OKLaboklab(53.39% 0.098 -0.1012)
OKLCHoklch(53.39% 0.141 314.1)
XYZxyz(20.1403, 13.8577, 37.2039)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50A5 #6BA550
analogous
#5F50A5 #8A50A5 #A55095
triadic
#8A50A5 #A58A50 #50A58A
tetradic
#8A50A5 #A55F50 #6BA550 #5095A5
square
#8A50A5 #A55F50 #6BA550 #5095A5
split-complementary
#8A50A5 #95A550 #50A55F
monochromatic
#452853 #683C7C #8A50A5 #A676BC #C19FD0

Accessibility & contrast

On white

5.57
#8A50A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A50A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50A5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50A5#FFFFFF#000000##FFFFFF
##8A50A51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#885D73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a50a5;
/* rgb */ color: rgb(138, 80, 165);
/* oklch */ color: oklch(53.4% 0.141 314.1);
Tailwind
colors: {
  custom: {
    50: '#ae83c0',
    500: '#8a50a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a50a5;
$custom-light: #ae83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50a5",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 280.941,
    "s": 34.694,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.14086,
    "h": 314.1
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#8A50A5
secondary
#A1BD93
accent
#CB5D80
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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