#8A50A2#8A50A2

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

Color values

HEX#8A50A2
RGBrgb(138, 80, 162)
HSLhsl(282, 34%, 47%)
HSVhsv(282, 51%, 64%)
CMYKcmyk(14.8%, 50.6%, 0%, 36.5%)
CIE-LABlab(43.87, 38.68, -34.79)
CIE-LCHlch(43.87, 52.03, 318.03°)
OKLaboklab(53.22% 0.0976 -0.0968)
OKLCHoklch(53.22% 0.137 315.2)
XYZxyz(19.8705, 13.7498, 35.7827)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50A2 #68A250
analogous
#6150A2 #8A50A2 #A25091
triadic
#8A50A2 #A28A50 #50A28A
tetradic
#8A50A2 #A26150 #68A250 #5091A2
square
#8A50A2 #A26150 #68A250 #5091A2
split-complementary
#8A50A2 #91A250 #50A261
monochromatic
#442850 #673C79 #8A50A2 #A675BB #C09ECF

Accessibility & contrast

On white

5.60
#8A50A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A50A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50A2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50A2#FFFFFF#000000##FFFFFF
##8A50A21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#895C71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a50a2;
/* rgb */ color: rgb(138, 80, 162);
/* oklch */ color: oklch(53.2% 0.137 315.2);
Tailwind
colors: {
  custom: {
    50: '#ae83be',
    500: '#8a50a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a50a2;
$custom-light: #ae83be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50a2",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 282.439,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.13744,
    "h": 315.2
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#8A50A2
secondary
#9EBC92
accent
#CA5E7D
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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