#8D50DB#8D50DB

#8D50DB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.204 H 300.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D50DB
RGBrgb(141, 80, 219)
HSLhsl(266, 66%, 59%)
HSVhsv(266, 63%, 86%)
CMYKcmyk(35.6%, 63.5%, 0%, 14.1%)
CIE-LABlab(47.64, 52.88, -61.88)
CIE-LCHlch(47.64, 81.40, 310.51°)
OKLaboklab(57.16% 0.1024 -0.176)
OKLCHoklch(57.16% 0.204 300.2)
XYZxyz(26.6362, 16.5143, 68.7884)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50DB #9EDB50
analogous
#5058DB #8D50DB #D250DB
triadic
#8D50DB #DB8D50 #50DB8D
tetradic
#8D50DB #DB5058 #9EDB50 #50DBD2
square
#8D50DB #DB5058 #9EDB50 #50DBD2
split-complementary
#8D50DB #DBD250 #58DB50
monochromatic
#511E92 #6D29C5 #8D50DB #AE83E5 #CFB6F0

Accessibility & contrast

On white

4.88
#8D50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8D50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50DB#FFFFFF#000000##FFFFFF
##8D50DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#1170D8
Tritanopia (blue-blind)
#7C6F8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d50db;
/* rgb */ color: rgb(141, 80, 219);
/* oklch */ color: oklch(57.2% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#b384e7',
    500: '#8d50db',
    950: '#000000',
  },
}
SCSS
$custom: #8d50db;
$custom-light: #b384e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50db",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 266.331,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.20359,
    "h": 300.2
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#8D50DB
secondary
#C7DFA8
accent
#E93F9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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