#8E3CCC#8E3CCC

#8E3CCC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.213 H 306.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8E3CCC
RGBrgb(142, 60, 204)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 71%, 80%)
CMYKcmyk(30.4%, 70.6%, 0%, 20%)
CIE-LABlab(43.27, 59.07, -60.34)
CIE-LCHlch(43.27, 84.44, 314.39°)
OKLaboklab(53.72% 0.1268 -0.1713)
OKLCHoklch(53.72% 0.213 306.5)
XYZxyz(23.6679, 13.3424, 58.4435)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CCC #7ACC3C
analogous
#463CCC #8E3CCC #CC3CC2
triadic
#8E3CCC #CC8E3C #3CCC8E
tetradic
#8E3CCC #CC463C #7ACC3C #3CC2CC
square
#8E3CCC #CC463C #7ACC3C #3CC2CC
split-complementary
#8E3CCC #C2CC3C #3CCC46
monochromatic
#4D1D70 #6E2AA1 #8E3CCC #AA6DD9 #C69DE5

Accessibility & contrast

On white

5.72
#8E3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8E3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CCC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CCC#FFFFFF#000000##FFFFFF
##8E3CCC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0267C9
Tritanopia (blue-blind)
#835D80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3ccc;
/* rgb */ color: rgb(142, 60, 204);
/* oklch */ color: oklch(53.7% 0.213 306.5);
Tailwind
colors: {
  custom: {
    50: '#b478dc',
    500: '#8e3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ccc;
$custom-light: #b478dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ccc",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 274.167,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.21311,
    "h": 306.5
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#8E3CCC
secondary
#AED192
accent
#E24689
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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