#8D50B4#8D50B4

#8D50B4 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.159 H 310.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D50B4
RGBrgb(141, 80, 180)
HSLhsl(277, 40%, 51%)
HSVhsv(277, 56%, 71%)
CMYKcmyk(21.7%, 55.6%, 0%, 29.4%)
CIE-LABlab(45.21, 43.56, -43.26)
CIE-LCHlch(45.21, 61.39, 315.20°)
OKLaboklab(54.61% 0.103 -0.1213)
OKLCHoklch(54.61% 0.159 310.3)
XYZxyz(22.0898, 14.6957, 44.8441)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50B4 #77B450
analogous
#5B50B4 #8D50B4 #B450A9
triadic
#8D50B4 #B48D50 #50B48D
tetradic
#8D50B4 #B45B50 #77B450 #50A9B4
square
#8D50B4 #B45B50 #77B450 #50A9B4
split-complementary
#8D50B4 #A9B450 #50B45B
monochromatic
#4B2960 #6C3C8B #8D50B4 #A97BC6 #C5A6D9

Accessibility & contrast

On white

5.33
#8D50B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8D50B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50B4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50B4#FFFFFF#000000##FFFFFF
##8D50B41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#88627A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d50b4;
/* rgb */ color: rgb(141, 80, 180);
/* oklch */ color: oklch(54.6% 0.159 310.3);
Tailwind
colors: {
  custom: {
    50: '#b183cb',
    500: '#8d50b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d50b4;
$custom-light: #b183cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50b4",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 276.6,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.15918,
    "h": 310.3
  },
  "luminance": 0.14695
}

Semantic roles & 50–950 ramp

primary
#8D50B4
secondary
#ABC69A
accent
#D05887
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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