#8E50D4#8E50D4

#8E50D4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.196 H 302.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8E50D4
RGBrgb(142, 80, 212)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 62%, 83%)
CMYKcmyk(33%, 62.3%, 0%, 16.9%)
CIE-LABlab(47.29, 51.38, -58.45)
CIE-LCHlch(47.29, 77.82, 311.31°)
OKLaboklab(56.78% 0.1042 -0.1658)
OKLCHoklch(56.78% 0.196 302.1)
XYZxyz(25.9049, 16.2415, 64.0448)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50D4 #96D450
analogous
#5054D4 #8E50D4 #D050D4
triadic
#8E50D4 #D48E50 #50D48E
tetradic
#8E50D4 #D45054 #96D450 #50D4D0
square
#8E50D4 #D45054 #96D450 #50D4D0
split-complementary
#8E50D4 #D4D050 #54D450
monochromatic
#522188 #6F2EB9 #8E50D4 #AE81E0 #CDB2EC

Accessibility & contrast

On white

4.94
#8E50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8E50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50D4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50D4#FFFFFF#000000##FFFFFF
##8E50D41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#806C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e50d4;
/* rgb */ color: rgb(142, 80, 212);
/* oklch */ color: oklch(56.8% 0.196 302.1);
Tailwind
colors: {
  custom: {
    50: '#b484e2',
    500: '#8e50d4',
    950: '#000000',
  },
}
SCSS
$custom: #8e50d4;
$custom-light: #b484e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50d4",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 268.182,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.19586,
    "h": 302.1
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#8E50D4
secondary
#C2DBA5
accent
#E44499
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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