#8D50BF#8D50BF

#8D50BF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.172 H 307.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D50BF
RGBrgb(141, 80, 191)
HSLhsl(273, 46%, 53%)
HSVhsv(273, 58%, 75%)
CMYKcmyk(26.2%, 58.1%, 0%, 25.1%)
CIE-LABlab(45.86, 46.11, -48.66)
CIE-LCHlch(45.86, 67.03, 313.46°)
OKLaboklab(55.29% 0.1034 -0.1371)
OKLCHoklch(55.29% 0.172 307)
XYZxyz(23.2552, 15.1619, 50.9815)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50BF #82BF50
analogous
#5550BF #8D50BF #BF50BA
triadic
#8D50BF #BF8D50 #50BF8D
tetradic
#8D50BF #BF5550 #82BF50 #50BABF
square
#8D50BF #BF5550 #82BF50 #50BABF
split-complementary
#8D50BF #BABF50 #50BF55
monochromatic
#4E286D #6E389A #8D50BF #AA7DCF #C7AAE0

Accessibility & contrast

On white

5.21
#8D50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8D50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50BF#FFFFFF#000000##FFFFFF
##8D50BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#856580
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d50bf;
/* rgb */ color: rgb(141, 80, 191);
/* oklch */ color: oklch(55.3% 0.172 307.0);
Tailwind
colors: {
  custom: {
    50: '#b184d3',
    500: '#8d50bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d50bf;
$custom-light: #b184d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50bf",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 272.973,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.17174,
    "h": 307
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#8D50BF
secondary
#B3CD9D
accent
#D6528D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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