#8E2DC0#8E2DC0

#8E2DC0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.218 H 310.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8E2DC0
RGBrgb(142, 45, 192)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 77%, 75%)
CMYKcmyk(26%, 76.6%, 0%, 24.7%)
CIE-LABlab(40.30, 62.47, -58.18)
CIE-LCHlch(40.30, 85.37, 317.04°)
OKLaboklab(51.35% 0.1429 -0.1649)
OKLCHoklch(51.35% 0.218 310.9)
XYZxyz(21.6063, 11.4339, 50.9277)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DC0 #5FC02D
analogous
#452DC0 #8E2DC0 #C02DA9
triadic
#8E2DC0 #C08E2D #2DC08E
tetradic
#8E2DC0 #C0452D #5FC02D #2DA9C0
square
#8E2DC0 #C0452D #5FC02D #2DA9C0
split-complementary
#8E2DC0 #A9C02D #2DC045
monochromatic
#45165D #69218E #8E2DC0 #AA53D7 #C385E2

Accessibility & contrast

On white

6.39
#8E2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8E2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DC0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DC0#FFFFFF#000000##FFFFFF
##8E2DC01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0661BD
Tritanopia (blue-blind)
#875076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2dc0;
/* rgb */ color: rgb(142, 45, 192);
/* oklch */ color: oklch(51.3% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#b471d4',
    500: '#8e2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dc0;
$custom-light: #b471d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dc0",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 279.592,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.21815,
    "h": 310.9
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#8E2DC0
secondary
#98CC7D
accent
#E5437A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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