#8D50B2#8D50B2

#8D50B2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.157 H 311.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D50B2
RGBrgb(141, 80, 178)
HSLhsl(277, 39%, 51%)
HSVhsv(277, 55%, 70%)
CMYKcmyk(20.8%, 55.1%, 0%, 30.2%)
CIE-LABlab(45.10, 43.10, -42.27)
CIE-LCHlch(45.10, 60.37, 315.56°)
OKLaboklab(54.49% 0.1029 -0.1184)
OKLCHoklch(54.49% 0.157 311)
XYZxyz(21.8876, 14.6148, 43.7788)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50B2 #75B250
analogous
#5C50B2 #8D50B2 #B250A6
triadic
#8D50B2 #B28D50 #50B28D
tetradic
#8D50B2 #B25C50 #75B250 #50A6B2
square
#8D50B2 #B25C50 #75B250 #50A6B2
split-complementary
#8D50B2 #A6B250 #50B25C
monochromatic
#4A295E #6C3C89 #8D50B2 #A97AC5 #C4A5D7

Accessibility & contrast

On white

5.35
#8D50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8D50B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50B2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50B2#FFFFFF#000000##FFFFFF
##8D50B21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#896179
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d50b2;
/* rgb */ color: rgb(141, 80, 178);
/* oklch */ color: oklch(54.5% 0.157 311.0);
Tailwind
colors: {
  custom: {
    50: '#b183c9',
    500: '#8d50b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d50b2;
$custom-light: #b183c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50b2",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 277.347,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.1569,
    "h": 311
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#8D50B2
secondary
#AAC599
accent
#CF5985
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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