#8D50CA#8D50CA

#8D50CA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.184 H 304.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D50CA
RGBrgb(141, 80, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 60%, 79%)
CMYKcmyk(30.2%, 60.4%, 0%, 20.8%)
CIE-LABlab(46.53, 48.73, -53.94)
CIE-LCHlch(46.53, 72.69, 312.09°)
OKLaboklab(56% 0.1033 -0.1526)
OKLCHoklch(56% 0.184 304.1)
XYZxyz(24.5115, 15.6644, 57.5979)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50CA #8DCA50
analogous
#5050CA #8D50CA #CA50CA
triadic
#8D50CA #CA8D50 #50CA8D
tetradic
#8D50CA #CA5050 #8DCA50 #50CACA
square
#8D50CA #CA5050 #8DCA50 #50CACA
split-complementary
#8D50CA #CACA50 #50CA50
monochromatic
#50257A #6E33A9 #8D50CA #AC7FD8 #CAAEE6

Accessibility & contrast

On white

5.08
#8D50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8D50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50CA#FFFFFF#000000##FFFFFF
##8D50CA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#826985
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d50ca;
/* rgb */ color: rgb(141, 80, 202);
/* oklch */ color: oklch(56.0% 0.184 304.1);
Tailwind
colors: {
  custom: {
    50: '#b284db',
    500: '#8d50ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d50ca;
$custom-light: #b284db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50ca",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.1843,
    "h": 304.1
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#8D50CA
secondary
#BBD4A1
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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