#8D50C2#8D50C2

#8D50C2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.175 H 306.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D50C2
RGBrgb(141, 80, 194)
HSLhsl(272, 48%, 54%)
HSVhsv(272, 59%, 76%)
CMYKcmyk(27.3%, 58.8%, 0%, 23.9%)
CIE-LABlab(46.04, 46.82, -50.11)
CIE-LCHlch(46.04, 68.58, 313.06°)
OKLaboklab(55.47% 0.1034 -0.1414)
OKLCHoklch(55.47% 0.175 306.2)
XYZxyz(23.5887, 15.2953, 52.7381)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50C2 #85C250
analogous
#5450C2 #8D50C2 #C250BE
triadic
#8D50C2 #C28D50 #50C28D
tetradic
#8D50C2 #C25450 #85C250 #50BEC2
square
#8D50C2 #C25450 #85C250 #50BEC2
split-complementary
#8D50C2 #BEC250 #50C254
monochromatic
#4E2770 #6E379E #8D50C2 #AB7DD2 #C8ABE2

Accessibility & contrast

On white

5.17
#8D50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50C2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50C2#FFFFFF#000000##FFFFFF
##8D50C21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#846681
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d50c2;
/* rgb */ color: rgb(141, 80, 194);
/* oklch */ color: oklch(55.5% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#b284d5',
    500: '#8d50c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d50c2;
$custom-light: #b284d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50c2",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 272.105,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.17517,
    "h": 306.2
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#8D50C2
secondary
#B5CF9F
accent
#D8508F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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