#8A50AF#8A50AF

#8A50AF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.152 H 310.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A50AF
RGBrgb(138, 80, 175)
HSLhsl(277, 37%, 50%)
HSVhsv(277, 54%, 69%)
CMYKcmyk(21.1%, 54.3%, 0%, 31.4%)
CIE-LABlab(44.57, 41.61, -41.37)
CIE-LCHlch(44.57, 58.68, 315.16°)
OKLaboklab(53.96% 0.0989 -0.1159)
OKLCHoklch(53.96% 0.152 310.5)
XYZxyz(21.0863, 14.2361, 42.1862)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50AF #75AF50
analogous
#5B50AF #8A50AF #AF50A4
triadic
#8A50AF #AF8A50 #50AF8A
tetradic
#8A50AF #AF5B50 #75AF50 #50A4AF
square
#8A50AF #AF5B50 #75AF50 #50A4AF
split-complementary
#8A50AF #A4AF50 #50AF5B
monochromatic
#482A5B #693D85 #8A50AF #A67AC2 #C2A4D5

Accessibility & contrast

On white

5.46
#8A50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50AF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50AF#FFFFFF#000000##FFFFFF
##8A50AF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#486AAD
Tritanopia (blue-blind)
#856078
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a50af;
/* rgb */ color: rgb(138, 80, 175);
/* oklch */ color: oklch(54.0% 0.152 310.5);
Tailwind
colors: {
  custom: {
    50: '#ae83c7',
    500: '#8a50af',
    950: '#000000',
  },
}
SCSS
$custom: #8a50af;
$custom-light: #ae83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50af",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 276.632,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.15236,
    "h": 310.5
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#8A50AF
secondary
#A9C398
accent
#CD5B87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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