#8A50BA#8A50BA

#8A50BA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.165 H 307.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A50BA
RGBrgb(138, 80, 186)
HSLhsl(273, 43%, 52%)
HSVhsv(273, 57%, 73%)
CMYKcmyk(25.8%, 57%, 0%, 27.1%)
CIE-LABlab(45.20, 44.18, -46.81)
CIE-LCHlch(45.20, 64.36, 313.34°)
OKLaboklab(54.63% 0.0994 -0.1318)
OKLCHoklch(54.63% 0.165 307)
XYZxyz(22.2110, 14.6860, 48.1094)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50BA #80BA50
analogous
#5550BA #8A50BA #BA50B5
triadic
#8A50BA #BA8A50 #50BA8A
tetradic
#8A50BA #BA5550 #80BA50 #50B5BA
square
#8A50BA #BA5550 #80BA50 #50B5BA
split-complementary
#8A50BA #B5BA50 #50BA55
monochromatic
#4B2967 #6B3A93 #8A50BA #A77CCB #C5A8DD

Accessibility & contrast

On white

5.33
#8A50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A50BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50BA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50BA#FFFFFF#000000##FFFFFF
##8A50BA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#83647D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a50ba;
/* rgb */ color: rgb(138, 80, 186);
/* oklch */ color: oklch(54.6% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#af83cf',
    500: '#8a50ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a50ba;
$custom-light: #af83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50ba",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 272.83,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.1651,
    "h": 307
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#8A50BA
secondary
#B1CA9C
accent
#D3558E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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