#8E50D2#8E50D2

#8E50D2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.194 H 302.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8E50D2
RGBrgb(142, 80, 210)
HSLhsl(269, 59%, 57%)
HSVhsv(269, 62%, 82%)
CMYKcmyk(32.4%, 61.9%, 0%, 17.6%)
CIE-LABlab(47.16, 50.89, -57.52)
CIE-LCHlch(47.16, 76.80, 311.50°)
OKLaboklab(56.64% 0.1043 -0.1631)
OKLCHoklch(56.64% 0.194 302.6)
XYZxyz(25.6542, 16.1412, 62.7243)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50D2 #94D250
analogous
#5053D2 #8E50D2 #CF50D2
triadic
#8E50D2 #D28E50 #50D28E
tetradic
#8E50D2 #D25053 #94D250 #50D2CF
square
#8E50D2 #D25053 #94D250 #50D2CF
split-complementary
#8E50D2 #D2CF50 #53D250
monochromatic
#522285 #6F2FB6 #8E50D2 #AD81DF #CDB1EB

Accessibility & contrast

On white

4.97
#8E50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8E50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50D2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50D2#FFFFFF#000000##FFFFFF
##8E50D21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#816C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e50d2;
/* rgb */ color: rgb(142, 80, 210);
/* oklch */ color: oklch(56.6% 0.194 302.6);
Tailwind
colors: {
  custom: {
    50: '#b384e0',
    500: '#8e50d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e50d2;
$custom-light: #b384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50d2",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 268.615,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.19361,
    "h": 302.6
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#8E50D2
secondary
#C0D9A4
accent
#E24698
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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