#8A50AE#8A50AE

#8A50AE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.151 H 310.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A50AE
RGBrgb(138, 80, 174)
HSLhsl(277, 37%, 50%)
HSVhsv(277, 54%, 68%)
CMYKcmyk(20.7%, 54%, 0%, 31.8%)
CIE-LABlab(44.51, 41.38, -40.87)
CIE-LCHlch(44.51, 58.16, 315.35°)
OKLaboklab(53.9% 0.0988 -0.1145)
OKLCHoklch(53.9% 0.151 310.8)
XYZxyz(20.9885, 14.1970, 41.6708)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50AE #74AE50
analogous
#5B50AE #8A50AE #AE50A3
triadic
#8A50AE #AE8A50 #50AE8A
tetradic
#8A50AE #AE5B50 #74AE50 #50A3AE
square
#8A50AE #AE5B50 #74AE50 #50A3AE
split-complementary
#8A50AE #A3AE50 #50AE5B
monochromatic
#47295A #693D84 #8A50AE #A67AC2 #C2A3D5

Accessibility & contrast

On white

5.47
#8A50AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A50AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50AE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50AE#FFFFFF#000000##FFFFFF
##8A50AE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B1
Deuteranopia (green-blind)
#496AAC
Tritanopia (blue-blind)
#866077
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a50ae;
/* rgb */ color: rgb(138, 80, 174);
/* oklch */ color: oklch(53.9% 0.151 310.8);
Tailwind
colors: {
  custom: {
    50: '#ae83c6',
    500: '#8a50ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a50ae;
$custom-light: #ae83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50ae",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 277.021,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.1512,
    "h": 310.8
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#8A50AE
secondary
#A8C298
accent
#CD5B87
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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