#8E2CC2#8E2CC2

#8E2CC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.221 H 310.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8E2CC2
RGBrgb(142, 44, 194)
HSLhsl(279, 63%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(26.8%, 77.3%, 0%, 23.9%)
CIE-LABlab(40.32, 63.25, -59.31)
CIE-LCHlch(40.32, 86.70, 316.84°)
OKLaboklab(51.41% 0.1433 -0.1682)
OKLCHoklch(51.41% 0.221 310.4)
XYZxyz(21.7917, 11.4477, 52.0901)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CC2 #60C22C
analogous
#432CC2 #8E2CC2 #C22CAB
triadic
#8E2CC2 #C28E2C #2CC28E
tetradic
#8E2CC2 #C2432C #60C22C #2CABC2
square
#8E2CC2 #C2432C #60C22C #2CABC2
split-complementary
#8E2CC2 #ABC22C #2CC243
monochromatic
#45155E #692190 #8E2CC2 #AA53D8 #C385E3

Accessibility & contrast

On white

6.38
#8E2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2CC2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CC2#FFFFFF#000000##FFFFFF
##8E2CC21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2cc2;
/* rgb */ color: rgb(142, 44, 194);
/* oklch */ color: oklch(51.4% 0.221 310.4);
Tailwind
colors: {
  custom: {
    50: '#b470d5',
    500: '#8e2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cc2;
$custom-light: #b470d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cc2",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 279.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.22096,
    "h": 310.4
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#8E2CC2
secondary
#99CD7D
accent
#E6427B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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