#8D50D2#8D50D2

#8D50D2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.193 H 302.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D50D2
RGBrgb(141, 80, 210)
HSLhsl(268, 59%, 57%)
HSVhsv(268, 62%, 82%)
CMYKcmyk(32.9%, 61.9%, 0%, 17.6%)
CIE-LABlab(47.04, 50.67, -57.71)
CIE-LCHlch(47.04, 76.80, 311.28°)
OKLaboklab(56.53% 0.103 -0.1637)
OKLCHoklch(56.53% 0.193 302.2)
XYZxyz(25.4833, 16.0531, 62.7163)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50D2 #95D250
analogous
#5054D2 #8D50D2 #CE50D2
triadic
#8D50D2 #D28D50 #50D28D
tetradic
#8D50D2 #D25054 #95D250 #50D2CE
square
#8D50D2 #D25054 #95D250 #50D2CE
split-complementary
#8D50D2 #D2CE50 #54D250
monochromatic
#512285 #6E2FB6 #8D50D2 #AD81DF #CCB1EB

Accessibility & contrast

On white

4.99
#8D50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8D50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50D2#FFFFFF#000000##FFFFFF
##8D50D21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#7F6C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d50d2;
/* rgb */ color: rgb(141, 80, 210);
/* oklch */ color: oklch(56.5% 0.193 302.2);
Tailwind
colors: {
  custom: {
    50: '#b384e0',
    500: '#8d50d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d50d2;
$custom-light: #b384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50d2",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 268.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.1934,
    "h": 302.2
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#8D50D2
secondary
#C1D9A4
accent
#E24699
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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