#8D50D3#8D50D3

#8D50D3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.195 H 301.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D50D3
RGBrgb(141, 80, 211)
HSLhsl(268, 60%, 57%)
HSVhsv(268, 62%, 83%)
CMYKcmyk(33.2%, 62.1%, 0%, 17.3%)
CIE-LABlab(47.11, 50.91, -58.18)
CIE-LCHlch(47.11, 77.31, 311.19°)
OKLaboklab(56.6% 0.1029 -0.1651)
OKLCHoklch(56.6% 0.195 301.9)
XYZxyz(25.6083, 16.1031, 63.3745)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50D3 #96D350
analogous
#5055D3 #8D50D3 #CE50D3
triadic
#8D50D3 #D38D50 #50D38D
tetradic
#8D50D3 #D35055 #96D350 #50D3CE
square
#8D50D3 #D35055 #96D350 #50D3CE
split-complementary
#8D50D3 #D3CE50 #55D350
monochromatic
#512287 #6E2EB8 #8D50D3 #AD81DF #CDB2EC

Accessibility & contrast

On white

4.98
#8D50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50D3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50D3#FFFFFF#000000##FFFFFF
##8D50D31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#7F6C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d50d3;
/* rgb */ color: rgb(141, 80, 211);
/* oklch */ color: oklch(56.6% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#b384e1',
    500: '#8d50d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d50d3;
$custom-light: #b384e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50d3",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 267.939,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.566,
    "c": 0.19453,
    "h": 301.9
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#8D50D3
secondary
#C1DAA5
accent
#E34599
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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