#8D50C8#8D50C8

#8D50C8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.182 H 304.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D50C8
RGBrgb(141, 80, 200)
HSLhsl(271, 52%, 55%)
HSVhsv(271, 60%, 78%)
CMYKcmyk(29.5%, 60%, 0%, 21.6%)
CIE-LABlab(46.41, 48.25, -52.99)
CIE-LCHlch(46.41, 71.66, 312.32°)
OKLaboklab(55.86% 0.1034 -0.1498)
OKLCHoklch(55.86% 0.182 304.6)
XYZxyz(24.2762, 15.5703, 56.3588)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50C8 #8BC850
analogous
#5150C8 #8D50C8 #C850C7
triadic
#8D50C8 #C88D50 #50C88D
tetradic
#8D50C8 #C85150 #8BC850 #50C7C8
square
#8D50C8 #C85150 #8BC850 #50C7C8
split-complementary
#8D50C8 #C7C850 #50C851
monochromatic
#4F2678 #6E34A6 #8D50C8 #AB7FD7 #CAADE5

Accessibility & contrast

On white

5.10
#8D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50C8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50C8#FFFFFF#000000##FFFFFF
##8D50C81.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCC
Deuteranopia (green-blind)
#356EC5
Tritanopia (blue-blind)
#826884
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d50c8;
/* rgb */ color: rgb(141, 80, 200);
/* oklch */ color: oklch(55.9% 0.182 304.6);
Tailwind
colors: {
  custom: {
    50: '#b284d9',
    500: '#8d50c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d50c8;
$custom-light: #b284d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50c8",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 270.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.18202,
    "h": 304.6
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#8D50C8
secondary
#B9D3A1
accent
#DC4C93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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