#8A50BE#8A50BE

#8A50BE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.170 H 305.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A50BE
RGBrgb(138, 80, 190)
HSLhsl(272, 46%, 53%)
HSVhsv(272, 58%, 75%)
CMYKcmyk(27.4%, 57.9%, 0%, 25.5%)
CIE-LABlab(45.44, 45.13, -48.76)
CIE-LCHlch(45.44, 66.44, 312.78°)
OKLaboklab(54.88% 0.0995 -0.1375)
OKLCHoklch(54.88% 0.17 305.9)
XYZxyz(22.6422, 14.8585, 50.3804)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50BE #84BE50
analogous
#5350BE #8A50BE #BE50BB
triadic
#8A50BE #BE8A50 #50BE8A
tetradic
#8A50BE #BE5350 #84BE50 #50BBBE
square
#8A50BE #BE5350 #84BE50 #50BBBE
split-complementary
#8A50BE #BBBE50 #50BE53
monochromatic
#4C286C #6B3998 #8A50BE #A87DCF #C6A9DF

Accessibility & contrast

On white

5.29
#8A50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8A50BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50BE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50BE#FFFFFF#000000##FFFFFF
##8A50BE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#81657F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a50be;
/* rgb */ color: rgb(138, 80, 190);
/* oklch */ color: oklch(54.9% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#af84d2',
    500: '#8a50be',
    950: '#000000',
  },
}
SCSS
$custom: #8a50be;
$custom-light: #af84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50be",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 271.636,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.16974,
    "h": 305.9
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#8A50BE
secondary
#B4CD9D
accent
#D55290
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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