#8E3CC8#8E3CC8

#8E3CC8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.209 H 307.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8E3CC8
RGBrgb(142, 60, 200)
HSLhsl(275, 56%, 51%)
HSVhsv(275, 70%, 78%)
CMYKcmyk(29%, 70%, 0%, 21.6%)
CIE-LABlab(42.99, 58.17, -58.48)
CIE-LCHlch(42.99, 82.49, 314.85°)
OKLaboklab(53.43% 0.1273 -0.1658)
OKLCHoklch(53.43% 0.209 307.5)
XYZxyz(23.1943, 13.1529, 55.9493)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CC8 #76C83C
analogous
#483CC8 #8E3CC8 #C83CBC
triadic
#8E3CC8 #C88E3C #3CC88E
tetradic
#8E3CC8 #C8483C #76C83C #3CBCC8
square
#8E3CC8 #C8483C #76C83C #3CBCC8
split-complementary
#8E3CC8 #BCC83C #3CC848
monochromatic
#4B1E6B #6D2C9B #8E3CC8 #AA6CD5 #C59BE3

Accessibility & contrast

On white

5.78
#8E3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8E3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CC8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CC8#FFFFFF#000000##FFFFFF
##8E3CC81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#855C7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3cc8;
/* rgb */ color: rgb(142, 60, 200);
/* oklch */ color: oklch(53.4% 0.209 307.5);
Tailwind
colors: {
  custom: {
    50: '#b478da',
    500: '#8e3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cc8;
$custom-light: #b478da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cc8",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 275.143,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.20908,
    "h": 307.5
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#8E3CC8
secondary
#ABCF91
accent
#DF4987
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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