#8E2CD0#8E2CD0

#8E2CD0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.5% C 0.234 H 306.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8E2CD0
RGBrgb(142, 44, 208)
HSLhsl(276, 65%, 49%)
HSVhsv(276, 79%, 82%)
CMYKcmyk(31.7%, 78.8%, 0%, 18.4%)
CIE-LABlab(41.38, 66.20, -65.72)
CIE-LCHlch(41.38, 93.28, 315.21°)
OKLaboklab(52.48% 0.1402 -0.187)
OKLCHoklch(52.48% 0.234 306.8)
XYZxyz(23.4387, 12.1065, 60.7643)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CD0 #6ED02C
analogous
#3C2CD0 #8E2CD0 #D02CC0
triadic
#8E2CD0 #D08E2C #2CD08E
tetradic
#8E2CD0 #D03C2C #6ED02C #2CC0D0
square
#8E2CD0 #D03C2C #6ED02C #2CC0D0
split-complementary
#8E2CD0 #C0D02C #2CD03C
monochromatic
#49176B #6C219D #8E2CD0 #A95DDD #C48FE7

Accessibility & contrast

On white

6.14
#8E2CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8E2CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CD0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CD0#FFFFFF#000000##FFFFFF
##8E2CD01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#82577E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e2cd0;
/* rgb */ color: rgb(142, 44, 208);
/* oklch */ color: oklch(52.5% 0.234 306.8);
Tailwind
colors: {
  custom: {
    50: '#b571df',
    500: '#8e2cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cd0;
$custom-light: #b571df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cd0",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 208
  },
  "hsl": {
    "h": 275.854,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.23371,
    "h": 306.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#8E2CD0
secondary
#A5D286
accent
#E84083
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E2CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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