#8A50BD#8A50BD

#8A50BD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.169 H 306.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A50BD
RGBrgb(138, 80, 189)
HSLhsl(272, 45%, 53%)
HSVhsv(272, 58%, 74%)
CMYKcmyk(27%, 57.7%, 0%, 25.9%)
CIE-LABlab(45.38, 44.89, -48.27)
CIE-LCHlch(45.38, 65.92, 312.92°)
OKLaboklab(54.82% 0.0995 -0.1361)
OKLCHoklch(54.82% 0.169 306.2)
XYZxyz(22.5333, 14.8149, 49.8067)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50BD #83BD50
analogous
#5450BD #8A50BD #BD50B9
triadic
#8A50BD #BD8A50 #50BD8A
tetradic
#8A50BD #BD5450 #83BD50 #50B9BD
square
#8A50BD #BD5450 #83BD50 #50B9BD
split-complementary
#8A50BD #B9BD50 #50BD54
monochromatic
#4B286A #6B3997 #8A50BD #A87CCE #C5A9DF

Accessibility & contrast

On white

5.30
#8A50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50BD#FFFFFF#000000##FFFFFF
##8A50BD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#82657F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a50bd;
/* rgb */ color: rgb(138, 80, 189);
/* oklch */ color: oklch(54.8% 0.169 306.2);
Tailwind
colors: {
  custom: {
    50: '#af83d1',
    500: '#8a50bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a50bd;
$custom-light: #af83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50bd",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 271.927,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.16857,
    "h": 306.2
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#8A50BD
secondary
#B3CC9D
accent
#D55390
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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