#8D50CB#8D50CB

#8D50CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.185 H 303.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D50CB
RGBrgb(141, 80, 203)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 61%, 80%)
CMYKcmyk(30.5%, 60.6%, 0%, 20.4%)
CIE-LABlab(46.59, 48.97, -54.41)
CIE-LCHlch(46.59, 73.20, 311.99°)
OKLaboklab(56.06% 0.1033 -0.154)
OKLCHoklch(56.06% 0.185 303.8)
XYZxyz(24.6302, 15.7119, 58.2235)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50CB #8ECB50
analogous
#5050CB #8D50CB #CA50CB
triadic
#8D50CB #CB8D50 #50CB8D
tetradic
#8D50CB #CB5050 #8ECB50 #50CBCA
square
#8D50CB #CB5050 #8ECB50 #50CBCA
split-complementary
#8D50CB #CBCA50 #50CB50
monochromatic
#50257C #6E33AB #8D50CB #AC7FD9 #CAAEE7

Accessibility & contrast

On white

5.07
#8D50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8D50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50CB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50CB#FFFFFF#000000##FFFFFF
##8D50CB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096DCF
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#826986
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d50cb;
/* rgb */ color: rgb(141, 80, 203);
/* oklch */ color: oklch(56.1% 0.185 303.8);
Tailwind
colors: {
  custom: {
    50: '#b284db',
    500: '#8d50cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d50cb;
$custom-light: #b284db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50cb",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 269.756,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.18544,
    "h": 303.8
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#8D50CB
secondary
#BCD5A2
accent
#DE4A94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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