#8A50C8#8A50C8

#8A50C8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.181 H 303.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A50C8
RGBrgb(138, 80, 200)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 60%, 78%)
CMYKcmyk(31%, 60%, 0%, 21.6%)
CIE-LABlab(46.06, 47.54, -53.56)
CIE-LCHlch(46.06, 71.62, 311.59°)
OKLaboklab(55.53% 0.0994 -0.1516)
OKLCHoklch(55.53% 0.181 303.3)
XYZxyz(23.7729, 15.3108, 56.3352)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50C8 #8EC850
analogous
#5052C8 #8A50C8 #C650C8
triadic
#8A50C8 #C88A50 #50C88A
tetradic
#8A50C8 #C85052 #8EC850 #50C8C6
square
#8A50C8 #C85052 #8EC850 #50C8C6
split-complementary
#8A50C8 #C8C650 #52C850
monochromatic
#4D2678 #6B34A6 #8A50C8 #A97FD7 #C8ADE5

Accessibility & contrast

On white

5.17
#8A50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50C8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50C8#FFFFFF#000000##FFFFFF
##8A50C81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6CCC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#7E6984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a50c8;
/* rgb */ color: rgb(138, 80, 200);
/* oklch */ color: oklch(55.5% 0.181 303.3);
Tailwind
colors: {
  custom: {
    50: '#b084d9',
    500: '#8a50c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a50c8;
$custom-light: #b084d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50c8",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 269,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.18131,
    "h": 303.3
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#8A50C8
secondary
#BBD3A1
accent
#DC4C96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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