#8D50CF#8D50CF

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

Color values

HEX#8D50CF
RGBrgb(141, 80, 207)
HSLhsl(269, 57%, 56%)
HSVhsv(269, 61%, 81%)
CMYKcmyk(31.9%, 61.4%, 0%, 18.8%)
CIE-LABlab(46.85, 49.94, -56.30)
CIE-LCHlch(46.85, 75.26, 311.57°)
OKLaboklab(56.33% 0.1031 -0.1596)
OKLCHoklch(56.33% 0.19 302.9)
XYZxyz(25.1131, 15.9050, 60.7663)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50CF #92CF50
analogous
#5053CF #8D50CF #CD50CF
triadic
#8D50CF #CF8D50 #50CF8D
tetradic
#8D50CF #CF5053 #92CF50 #50CFCD
square
#8D50CF #CF5053 #92CF50 #50CFCD
split-complementary
#8D50CF #CFCD50 #53CF50
monochromatic
#502381 #6E31B1 #8D50CF #AC80DC #CCB0E9

Accessibility & contrast

On white

5.02
#8D50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50CF#FFFFFF#000000##FFFFFF
##8D50CF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#806B88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d50cf;
/* rgb */ color: rgb(141, 80, 207);
/* oklch */ color: oklch(56.3% 0.190 302.9);
Tailwind
colors: {
  custom: {
    50: '#b384de',
    500: '#8d50cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d50cf;
$custom-light: #b384de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50cf",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 268.819,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.19,
    "h": 302.9
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#8D50CF
secondary
#BED8A3
accent
#E04897
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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