#8D50E2#8D50E2

#8D50E2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.211 H 298.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D50E2
RGBrgb(141, 80, 226)
HSLhsl(265, 72%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.6%, 64.6%, 0%, 11.4%)
CIE-LABlab(48.12, 54.62, -65.08)
CIE-LCHlch(48.12, 84.97, 310.01°)
OKLaboklab(57.65% 0.1017 -0.1854)
OKLCHoklch(57.65% 0.211 298.8)
XYZxyz(27.5772, 16.8907, 73.7441)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50E2 #A5E250
analogous
#505CE2 #8D50E2 #D650E2
triadic
#8D50E2 #E28D50 #50E28D
tetradic
#8D50E2 #E2505C #A5E250 #50E2D6
square
#8D50E2 #E2505C #A5E250 #50E2D6
split-complementary
#8D50E2 #E2D650 #5CE250
monochromatic
#511A9E #6C23D2 #8D50E2 #AF84EB #D1B9F3

Accessibility & contrast

On white

4.80
#8D50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50E2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50E2#FFFFFF#000000##FFFFFF
##8D50E21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#797192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d50e2;
/* rgb */ color: rgb(141, 80, 226);
/* oklch */ color: oklch(57.7% 0.211 298.8);
Tailwind
colors: {
  custom: {
    50: '#b485ec',
    500: '#8d50e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d50e2;
$custom-light: #b485ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50e2",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 265.068,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.21146,
    "h": 298.8
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#8D50E2
secondary
#CCE3AB
accent
#EE39A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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