#8E44CA#8E44CA

#8E44CA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.201 H 306.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8E44CA
RGBrgb(142, 68, 202)
HSLhsl(273, 56%, 53%)
HSVhsv(273, 66%, 79%)
CMYKcmyk(29.7%, 66.3%, 0%, 20.8%)
CIE-LABlab(44.45, 54.96, -57.29)
CIE-LCHlch(44.45, 79.39, 313.81°)
OKLaboklab(54.51% 0.1186 -0.1624)
OKLCHoklch(54.51% 0.201 306.1)
XYZxyz(23.8808, 14.1495, 57.3387)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44CA #80CA44
analogous
#4B44CA #8E44CA #CA44C3
triadic
#8E44CA #CA8E44 #44CA8E
tetradic
#8E44CA #CA4B44 #80CA44 #44C3CA
square
#8E44CA #CA4B44 #80CA44 #44C3CA
split-complementary
#8E44CA #C3CA44 #44CA4B
monochromatic
#4E2173 #6E2EA3 #8E44CA #AB74D8 #C8A3E5

Accessibility & contrast

On white

5.48
#8E44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8E44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44CA#FFFFFF#000000##FFFFFF
##8E44CA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#846181
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e44ca;
/* rgb */ color: rgb(142, 68, 202);
/* oklch */ color: oklch(54.5% 0.201 306.1);
Tailwind
colors: {
  custom: {
    50: '#b37ddb',
    500: '#8e44ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e44ca;
$custom-light: #b37ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44ca",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 273.134,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.20107,
    "h": 306.1
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#8E44CA
secondary
#B2D298
accent
#DF498C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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