#8E2EC9#8E2EC9

#8E2EC9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.1% C 0.225 H 308.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8E2EC9
RGBrgb(142, 46, 201)
HSLhsl(277, 63%, 48%)
HSVhsv(277, 77%, 79%)
CMYKcmyk(29.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(41.09, 64.01, -62.14)
CIE-LCHlch(41.09, 89.21, 315.85°)
OKLaboklab(52.11% 0.1402 -0.1765)
OKLCHoklch(52.11% 0.225 308.5)
XYZxyz(22.6727, 11.9222, 56.3538)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EC9 #69C92E
analogous
#402EC9 #8E2EC9 #C92EB6
triadic
#8E2EC9 #C98E2E #2EC98E
tetradic
#8E2EC9 #C9402E #69C92E #2EB6C9
square
#8E2EC9 #C9402E #69C92E #2EB6C9
split-complementary
#8E2EC9 #B6C92E #2EC940
monochromatic
#481765 #6B2397 #8E2EC9 #A95BD9 #C38DE5

Accessibility & contrast

On white

6.20
#8E2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EC9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EC9#FFFFFF#000000##FFFFFF
##8E2EC91.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#85557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e2ec9;
/* rgb */ color: rgb(142, 46, 201);
/* oklch */ color: oklch(52.1% 0.225 308.5);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8e2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ec9;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ec9",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 277.161,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.22541,
    "h": 308.5
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#8E2EC9
secondary
#A0CF84
accent
#E64280
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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