#8D50C7#8D50C7

#8D50C7 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.181 H 304.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D50C7
RGBrgb(141, 80, 199)
HSLhsl(271, 52%, 55%)
HSVhsv(271, 60%, 78%)
CMYKcmyk(29.1%, 59.8%, 0%, 22%)
CIE-LABlab(46.34, 48.01, -52.51)
CIE-LCHlch(46.34, 71.15, 312.44°)
OKLaboklab(55.8% 0.1034 -0.1484)
OKLCHoklch(55.8% 0.181 304.9)
XYZxyz(24.1597, 15.5237, 55.7454)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50C7 #8AC750
analogous
#5250C7 #8D50C7 #C750C6
triadic
#8D50C7 #C78D50 #50C78D
tetradic
#8D50C7 #C75250 #8AC750 #50C6C7
square
#8D50C7 #C75250 #8AC750 #50C6C7
split-complementary
#8D50C7 #C6C750 #50C752
monochromatic
#4F2677 #6E35A5 #8D50C7 #AB7ED6 #C9ADE5

Accessibility & contrast

On white

5.12
#8D50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8D50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50C7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50C7#FFFFFF#000000##FFFFFF
##8D50C71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#366EC4
Tritanopia (blue-blind)
#836884
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d50c7;
/* rgb */ color: rgb(141, 80, 199);
/* oklch */ color: oklch(55.8% 0.181 304.9);
Tailwind
colors: {
  custom: {
    50: '#b284d9',
    500: '#8d50c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d50c7;
$custom-light: #b284d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50c7",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 270.756,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.18088,
    "h": 304.9
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#8D50C7
secondary
#B9D2A0
accent
#DB4D92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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