#8A50D6#8A50D6

#8A50D6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.197 H 300.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A50D6
RGBrgb(138, 80, 214)
HSLhsl(266, 62%, 58%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(35.5%, 62.6%, 0%, 16.1%)
CIE-LABlab(46.97, 51.00, -60.14)
CIE-LCHlch(46.97, 78.85, 310.30°)
OKLaboklab(56.48% 0.0988 -0.1709)
OKLCHoklch(56.48% 0.197 300)
XYZxyz(25.4845, 15.9954, 65.3501)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D6 #9CD650
analogous
#5059D6 #8A50D6 #CD50D6
triadic
#8A50D6 #D68A50 #50D68A
tetradic
#8A50D6 #D65059 #9CD650 #50D6CD
square
#8A50D6 #D65059 #9CD650 #50D6CD
split-complementary
#8A50D6 #D6CD50 #59D650
monochromatic
#4F218B #6B2CBD #8A50D6 #AB82E2 #CCB3ED

Accessibility & contrast

On white

5.00
#8A50D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A50D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D6#FFFFFF#000000##FFFFFF
##8A50D61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#186ED3
Tritanopia (blue-blind)
#796D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a50d6;
/* rgb */ color: rgb(138, 80, 214);
/* oklch */ color: oklch(56.5% 0.197 300.0);
Tailwind
colors: {
  custom: {
    50: '#b184e3',
    500: '#8a50d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d6;
$custom-light: #b184e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d6",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 265.97,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.19742,
    "h": 300
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#8A50D6
secondary
#C5DCA6
accent
#E5439F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50D6

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

Preview Lab → · Contrast checker → · Palette generator →

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