#8E27C7#8E27C7

#8E27C7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.4% C 0.230 H 309.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8E27C7
RGBrgb(142, 39, 199)
HSLhsl(279, 67%, 47%)
HSVhsv(279, 80%, 78%)
CMYKcmyk(28.6%, 80.4%, 0%, 22%)
CIE-LABlab(40.12, 65.95, -62.55)
CIE-LCHlch(40.12, 90.90, 316.51°)
OKLaboklab(51.38% 0.1461 -0.1777)
OKLCHoklch(51.38% 0.23 309.4)
XYZxyz(22.1876, 11.3258, 55.0390)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27C7 #60C727
analogous
#3E27C7 #8E27C7 #C727B0
triadic
#8E27C7 #C78E27 #27C78E
tetradic
#8E27C7 #C73E27 #60C727 #27B0C7
square
#8E27C7 #C73E27 #60C727 #27B0C7
split-complementary
#8E27C7 #B0C727 #27C73E
monochromatic
#451361 #691D94 #8E27C7 #AA4FDC #C382E6

Accessibility & contrast

On white

6.43
#8E27C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8E27C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27C7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27C7#FFFFFF#000000##FFFFFF
##8E27C71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#855178
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e27c7;
/* rgb */ color: rgb(142, 39, 199);
/* oklch */ color: oklch(51.4% 0.230 309.4);
Tailwind
colors: {
  custom: {
    50: '#b56ed9',
    500: '#8e27c7',
    950: '#000000',
  },
}
SCSS
$custom: #8e27c7;
$custom-light: #b56ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27c7",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 199
  },
  "hsl": {
    "h": 278.625,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.23004,
    "h": 309.4
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#8E27C7
secondary
#99CF7B
accent
#EA3E7B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E27C7

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

Preview Lab → · Contrast checker → · Palette generator →

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