#8E2DC1#8E2DC1

#8E2DC1 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.219 H 310.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8E2DC1
RGBrgb(142, 45, 193)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(26.4%, 76.7%, 0%, 24.3%)
CIE-LABlab(40.37, 62.68, -58.64)
CIE-LCHlch(40.37, 85.84, 316.91°)
OKLaboklab(51.42% 0.1427 -0.1662)
OKLCHoklch(51.42% 0.219 310.6)
XYZxyz(21.7175, 11.4783, 51.5132)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DC1 #60C12D
analogous
#442DC1 #8E2DC1 #C12DAA
triadic
#8E2DC1 #C18E2D #2DC18E
tetradic
#8E2DC1 #C1442D #60C12D #2DAAC1
square
#8E2DC1 #C1442D #60C12D #2DAAC1
split-complementary
#8E2DC1 #AAC12D #2DC144
monochromatic
#45165E #69218F #8E2DC1 #AA54D7 #C386E3

Accessibility & contrast

On white

6.37
#8E2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8E2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DC1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DC1#FFFFFF#000000##FFFFFF
##8E2DC11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0161BE
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2dc1;
/* rgb */ color: rgb(142, 45, 193);
/* oklch */ color: oklch(51.4% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#b471d5',
    500: '#8e2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dc1;
$custom-light: #b471d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dc1",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 279.324,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.21906,
    "h": 310.6
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#8E2DC1
secondary
#99CC7E
accent
#E5437B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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