#8D50E1#8D50E1

#8D50E1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.210 H 299.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D50E1
RGBrgb(141, 80, 225)
HSLhsl(265, 71%, 60%)
HSVhsv(265, 64%, 88%)
CMYKcmyk(37.3%, 64.4%, 0%, 11.8%)
CIE-LABlab(48.05, 54.37, -64.63)
CIE-LCHlch(48.05, 84.46, 310.07°)
OKLaboklab(57.58% 0.1018 -0.184)
OKLCHoklch(57.58% 0.21 299)
XYZxyz(27.4404, 16.8360, 73.0235)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50E1 #A4E150
analogous
#505CE1 #8D50E1 #D550E1
triadic
#8D50E1 #E18D50 #50E18D
tetradic
#8D50E1 #E1505C #A4E150 #50E1D5
square
#8D50E1 #E1505C #A4E150 #50E1D5
split-complementary
#8D50E1 #E1D550 #5CE150
monochromatic
#511B9C #6C24D0 #8D50E1 #AF84EA #D1B8F3

Accessibility & contrast

On white

4.81
#8D50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D50E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50E1#FFFFFF#000000##FFFFFF
##8D50E11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#7A7192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d50e1;
/* rgb */ color: rgb(141, 80, 225);
/* oklch */ color: oklch(57.6% 0.210 299.0);
Tailwind
colors: {
  custom: {
    50: '#b485eb',
    500: '#8d50e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d50e1;
$custom-light: #b485eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50e1",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 265.241,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.21034,
    "h": 299
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#8D50E1
secondary
#CBE2AA
accent
#ED3AA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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