#8E2EC0#8E2EC0

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

Color values

HEX#8E2EC0
RGBrgb(142, 46, 192)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 75%)
CMYKcmyk(26%, 76%, 0%, 24.7%)
CIE-LABlab(40.43, 62.11, -57.97)
CIE-LCHlch(40.43, 84.96, 316.97°)
OKLaboklab(51.43% 0.142 -0.1643)
OKLCHoklch(51.43% 0.217 310.8)
XYZxyz(21.6449, 11.5111, 50.9406)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EC0 #60C02E
analogous
#452EC0 #8E2EC0 #C02EA9
triadic
#8E2EC0 #C08E2E #2EC08E
tetradic
#8E2EC0 #C0452E #60C02E #2EA9C0
square
#8E2EC0 #C0452E #60C02E #2EA9C0
split-complementary
#8E2EC0 #A9C02E #2EC045
monochromatic
#45165D #69228F #8E2EC0 #AA55D6 #C386E2

Accessibility & contrast

On white

6.36
#8E2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2EC0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EC0#FFFFFF#000000##FFFFFF
##8E2EC01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2ec0;
/* rgb */ color: rgb(142, 46, 192);
/* oklch */ color: oklch(51.4% 0.217 310.8);
Tailwind
colors: {
  custom: {
    50: '#b471d4',
    500: '#8e2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ec0;
$custom-light: #b471d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ec0",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 279.452,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.21712,
    "h": 310.8
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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