#8E2CC3#8E2CC3

#8E2CC3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.222 H 310.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8E2CC3
RGBrgb(142, 44, 195)
HSLhsl(279, 63%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(27.2%, 77.4%, 0%, 23.5%)
CIE-LABlab(40.40, 63.45, -59.77)
CIE-LCHlch(40.40, 87.17, 316.71°)
OKLaboklab(51.48% 0.1431 -0.1695)
OKLCHoklch(51.48% 0.222 310.2)
XYZxyz(21.9044, 11.4928, 52.6836)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CC3 #61C32C
analogous
#422CC3 #8E2CC3 #C32CAD
triadic
#8E2CC3 #C38E2C #2CC38E
tetradic
#8E2CC3 #C3422C #61C32C #2CADC3
square
#8E2CC3 #C3422C #61C32C #2CADC3
split-complementary
#8E2CC3 #ADC32C #2CC342
monochromatic
#45155F #6A2191 #8E2CC3 #AA54D8 #C386E4

Accessibility & contrast

On white

6.37
#8E2CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2CC3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CC3#FFFFFF#000000##FFFFFF
##8E2CC31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#865177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2cc3;
/* rgb */ color: rgb(142, 44, 195);
/* oklch */ color: oklch(51.5% 0.222 310.2);
Tailwind
colors: {
  custom: {
    50: '#b470d6',
    500: '#8e2cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cc3;
$custom-light: #b470d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cc3",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 278.94,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.22187,
    "h": 310.2
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#8E2CC3
secondary
#9ACD7E
accent
#E6427B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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