#8E44CC#8E44CC

#8E44CC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.203 H 305.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8E44CC
RGBrgb(142, 68, 204)
HSLhsl(273, 57%, 53%)
HSVhsv(273, 67%, 80%)
CMYKcmyk(30.4%, 66.7%, 0%, 20%)
CIE-LABlab(44.58, 55.42, -58.23)
CIE-LCHlch(44.58, 80.39, 313.59°)
OKLaboklab(54.65% 0.1184 -0.1651)
OKLCHoklch(54.65% 0.203 305.6)
XYZxyz(24.1191, 14.2448, 58.5939)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44CC #82CC44
analogous
#4A44CC #8E44CC #CC44C6
triadic
#8E44CC #CC8E44 #44CC8E
tetradic
#8E44CC #CC4A44 #82CC44 #44C6CC
square
#8E44CC #CC4A44 #82CC44 #44C6CC
split-complementary
#8E44CC #C6CC44 #44CC4A
monochromatic
#4F2076 #6F2DA6 #8E44CC #AB74D9 #C8A4E6

Accessibility & contrast

On white

5.46
#8E44CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8E44CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44CC#FFFFFF#000000##FFFFFF
##8E44CC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#836282
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e44cc;
/* rgb */ color: rgb(142, 68, 204);
/* oklch */ color: oklch(54.7% 0.203 305.6);
Tailwind
colors: {
  custom: {
    50: '#b47ddc',
    500: '#8e44cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e44cc;
$custom-light: #b47ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44cc",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 272.647,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.20318,
    "h": 305.6
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#8E44CC
secondary
#B3D399
accent
#E0478D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E44CC

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

Preview Lab → · Contrast checker → · Palette generator →

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