#8E44CD#8E44CD

#8E44CD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.204 H 305.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8E44CD
RGBrgb(142, 68, 205)
HSLhsl(272, 58%, 54%)
HSVhsv(272, 67%, 80%)
CMYKcmyk(30.7%, 66.8%, 0%, 19.6%)
CIE-LABlab(44.65, 55.65, -58.69)
CIE-LCHlch(44.65, 80.88, 313.48°)
OKLaboklab(54.73% 0.1183 -0.1665)
OKLCHoklch(54.73% 0.204 305.4)
XYZxyz(24.2395, 14.2930, 59.2276)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44CD #83CD44
analogous
#4944CD #8E44CD #CD44C7
triadic
#8E44CD #CD8E44 #44CD8E
tetradic
#8E44CD #CD4944 #83CD44 #44C7CD
square
#8E44CD #CD4944 #83CD44 #44C7CD
split-complementary
#8E44CD #C7CD44 #44CD49
monochromatic
#4F2077 #6F2DA7 #8E44CD #AB74DA #C8A5E7

Accessibility & contrast

On white

5.44
#8E44CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8E44CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44CD#FFFFFF#000000##FFFFFF
##8E44CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#836283
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e44cd;
/* rgb */ color: rgb(142, 68, 205);
/* oklch */ color: oklch(54.7% 0.204 305.4);
Tailwind
colors: {
  custom: {
    50: '#b47ddd',
    500: '#8e44cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e44cd;
$custom-light: #b47ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44cd",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 205
  },
  "hsl": {
    "h": 272.409,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.20423,
    "h": 305.4
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#8E44CD
secondary
#B4D499
accent
#E1478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E44CD

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

Preview Lab → · Contrast checker → · Palette generator →

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