#8C44E1#8C44E1

#8C44E1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.225 H 300.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8C44E1
RGBrgb(140, 68, 225)
HSLhsl(268, 72%, 57%)
HSVhsv(268, 70%, 88%)
CMYKcmyk(37.8%, 69.8%, 0%, 11.8%)
CIE-LABlab(45.83, 60.00, -68.24)
CIE-LCHlch(45.83, 90.86, 311.32°)
OKLaboklab(55.97% 0.1128 -0.1946)
OKLCHoklch(55.97% 0.225 300.1)
XYZxyz(26.4696, 15.1457, 72.7484)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C44E1 #99E144
analogous
#444BE1 #8C44E1 #DA44E1
triadic
#8C44E1 #E18C44 #44E18C
tetradic
#8C44E1 #E1444B #99E144 #44E1DA
square
#8C44E1 #E1444B #99E144 #44E1DA
split-complementary
#8C44E1 #E1DA44 #4BE144
monochromatic
#501893 #6D20C8 #8C44E1 #AC79E9 #CDADF2

Accessibility & contrast

On white

5.21
#8C44E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8C44E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C44E1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C44E1#FFFFFF#000000##FFFFFF
##8C44E11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#796A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8c44e1;
/* rgb */ color: rgb(140, 68, 225);
/* oklch */ color: oklch(56.0% 0.225 300.1);
Tailwind
colors: {
  custom: {
    50: '#b47deb',
    500: '#8c44e1',
    950: '#000000',
  },
}
SCSS
$custom: #8c44e1;
$custom-light: #b47deb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c44e1",
  "rgb": {
    "r": 140,
    "g": 68,
    "b": 225
  },
  "hsl": {
    "h": 267.516,
    "s": 72.35,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.22495,
    "h": 300.1
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#8C44E1
secondary
#C3E0A1
accent
#EF399B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C44E1

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

Preview Lab → · Contrast checker → · Palette generator →

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