#8A50AA#8A50AA

#8A50AA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.147 H 312.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A50AA
RGBrgb(138, 80, 170)
HSLhsl(279, 36%, 49%)
HSVhsv(279, 53%, 67%)
CMYKcmyk(18.8%, 52.9%, 0%, 33.3%)
CIE-LABlab(44.30, 40.47, -38.86)
CIE-LCHlch(44.30, 56.11, 316.16°)
OKLaboklab(53.67% 0.0985 -0.1086)
OKLCHoklch(53.67% 0.147 312.2)
XYZxyz(20.6043, 14.0433, 39.6476)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50AA #70AA50
analogous
#5D50AA #8A50AA #AA509D
triadic
#8A50AA #AA8A50 #50AA8A
tetradic
#8A50AA #AA5D50 #70AA50 #509DAA
square
#8A50AA #AA5D50 #70AA50 #509DAA
split-complementary
#8A50AA #9DAA50 #50AA5D
monochromatic
#462957 #683C80 #8A50AA #A678BF #C1A1D3

Accessibility & contrast

On white

5.51
#8A50AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A50AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50AA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50AA#FFFFFF#000000##FFFFFF
##8A50AA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#875F75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a50aa;
/* rgb */ color: rgb(138, 80, 170);
/* oklch */ color: oklch(53.7% 0.147 312.2);
Tailwind
colors: {
  custom: {
    50: '#ae83c4',
    500: '#8a50aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a50aa;
$custom-light: #ae83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50aa",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 278.667,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.1466,
    "h": 312.2
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#8A50AA
secondary
#A5C096
accent
#CC5C84
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8A50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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