#8D50D4#8D50D4

#8D50D4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.196 H 301.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D50D4
RGBrgb(141, 80, 212)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 62%, 83%)
CMYKcmyk(33.5%, 62.3%, 0%, 16.9%)
CIE-LABlab(47.18, 51.16, -58.64)
CIE-LCHlch(47.18, 77.82, 311.10°)
OKLaboklab(56.67% 0.1029 -0.1664)
OKLCHoklch(56.67% 0.196 301.7)
XYZxyz(25.7340, 16.1534, 64.0368)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50D4 #97D450
analogous
#5055D4 #8D50D4 #CF50D4
triadic
#8D50D4 #D48D50 #50D48D
tetradic
#8D50D4 #D45055 #97D450 #50D4CF
square
#8D50D4 #D45055 #97D450 #50D4CF
split-complementary
#8D50D4 #D4CF50 #55D450
monochromatic
#512188 #6E2EB9 #8D50D4 #AD81E0 #CDB2EC

Accessibility & contrast

On white

4.96
#8D50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50D4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50D4#FFFFFF#000000##FFFFFF
##8D50D41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#236FD1
Tritanopia (blue-blind)
#7F6C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d50d4;
/* rgb */ color: rgb(141, 80, 212);
/* oklch */ color: oklch(56.7% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#b384e2',
    500: '#8d50d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d50d4;
$custom-light: #b384e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50d4",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 267.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.19566,
    "h": 301.7
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#8D50D4
secondary
#C2DBA5
accent
#E4449A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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