#8D50DC#8D50DC

#8D50DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.205 H 300.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D50DC
RGBrgb(141, 80, 220)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 64%, 86%)
CMYKcmyk(35.9%, 63.6%, 0%, 13.7%)
CIE-LABlab(47.71, 53.13, -62.34)
CIE-LCHlch(47.71, 81.91, 310.44°)
OKLaboklab(57.23% 0.1023 -0.1773)
OKLCHoklch(57.23% 0.205 300)
XYZxyz(26.7683, 16.5671, 69.4838)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50DC #9FDC50
analogous
#5059DC #8D50DC #D350DC
triadic
#8D50DC #DC8D50 #50DC8D
tetradic
#8D50DC #DC5059 #9FDC50 #50DCD3
square
#8D50DC #DC5059 #9FDC50 #50DCD3
split-complementary
#8D50DC #DCD350 #59DC50
monochromatic
#511E94 #6D28C7 #8D50DC #AE83E6 #CFB6F0

Accessibility & contrast

On white

4.87
#8D50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50DC#FFFFFF#000000##FFFFFF
##8D50DC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0C70D9
Tritanopia (blue-blind)
#7C6F8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d50dc;
/* rgb */ color: rgb(141, 80, 220);
/* oklch */ color: oklch(57.2% 0.205 300.0);
Tailwind
colors: {
  custom: {
    50: '#b484e8',
    500: '#8d50dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d50dc;
$custom-light: #b484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50dc",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 266.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.20471,
    "h": 300
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#8D50DC
secondary
#C7DFA8
accent
#EA3E9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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