#8D50CE#8D50CE

#8D50CE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.189 H 303.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D50CE
RGBrgb(141, 80, 206)
HSLhsl(269, 56%, 56%)
HSVhsv(269, 61%, 81%)
CMYKcmyk(31.6%, 61.2%, 0%, 19.2%)
CIE-LABlab(46.79, 49.69, -55.83)
CIE-LCHlch(46.79, 74.74, 311.67°)
OKLaboklab(56.26% 0.1032 -0.1582)
OKLCHoklch(56.26% 0.189 303.1)
XYZxyz(24.9912, 15.8563, 60.1245)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50CE #91CE50
analogous
#5052CE #8D50CE #CC50CE
triadic
#8D50CE #CE8D50 #50CE8D
tetradic
#8D50CE #CE5052 #91CE50 #50CECC
square
#8D50CE #CE5052 #91CE50 #50CECC
split-complementary
#8D50CE #CECC50 #52CE50
monochromatic
#502480 #6E31B0 #8D50CE #AC80DB #CBB0E9

Accessibility & contrast

On white

5.03
#8D50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50CE#FFFFFF#000000##FFFFFF
##8D50CE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#816A88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d50ce;
/* rgb */ color: rgb(141, 80, 206);
/* oklch */ color: oklch(56.3% 0.189 303.1);
Tailwind
colors: {
  custom: {
    50: '#b284de',
    500: '#8d50ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d50ce;
$custom-light: #b284de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50ce",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 269.048,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.18885,
    "h": 303.1
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#8D50CE
secondary
#BED7A3
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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