#8E50CA#8E50CA

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

Color values

HEX#8E50CA
RGBrgb(142, 80, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 60%, 79%)
CMYKcmyk(29.7%, 60.4%, 0%, 20.8%)
CIE-LABlab(46.65, 48.96, -53.74)
CIE-LCHlch(46.65, 72.70, 312.33°)
OKLaboklab(56.11% 0.1046 -0.152)
OKLCHoklch(56.11% 0.185 304.5)
XYZxyz(24.6823, 15.7525, 57.6059)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50CA #8CCA50
analogous
#5150CA #8E50CA #CA50C9
triadic
#8E50CA #CA8E50 #50CA8E
tetradic
#8E50CA #CA5150 #8CCA50 #50C9CA
square
#8E50CA #CA5150 #8CCA50 #50C9CA
split-complementary
#8E50CA #C9CA50 #50CA51
monochromatic
#50257A #6F33A9 #8E50CA #AC7FD8 #CBAEE6

Accessibility & contrast

On white

5.06
#8E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50CA#FFFFFF#000000##FFFFFF
##8E50CA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#836985
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e50ca;
/* rgb */ color: rgb(142, 80, 202);
/* oklch */ color: oklch(56.1% 0.185 304.5);
Tailwind
colors: {
  custom: {
    50: '#b384db',
    500: '#8e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e50ca;
$custom-light: #b384db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50ca",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 270.492,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.18454,
    "h": 304.5
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#8E50CA
secondary
#BAD4A1
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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