#8E3CCE#8E3CCE

#8E3CCE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.215 H 306.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E3CCE
RGBrgb(142, 60, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 71%, 81%)
CMYKcmyk(31.1%, 70.9%, 0%, 19.2%)
CIE-LABlab(43.42, 59.52, -61.26)
CIE-LCHlch(43.42, 85.42, 314.17°)
OKLaboklab(53.87% 0.1265 -0.174)
OKLCHoklch(53.87% 0.215 306)
XYZxyz(23.9093, 13.4389, 59.7150)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CCE #7CCE3C
analogous
#453CCE #8E3CCE #CE3CC5
triadic
#8E3CCE #CE8E3C #3CCE8E
tetradic
#8E3CCE #CE453C #7CCE3C #3CC5CE
square
#8E3CCE #CE453C #7CCE3C #3CC5CE
split-complementary
#8E3CCE #C5CE3C #3CCE45
monochromatic
#4D1D73 #6E29A4 #8E3CCE #AA6DDA #C79EE7

Accessibility & contrast

On white

5.69
#8E3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8E3CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CCE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CCE#FFFFFF#000000##FFFFFF
##8E3CCE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#835E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3cce;
/* rgb */ color: rgb(142, 60, 206);
/* oklch */ color: oklch(53.9% 0.215 306.0);
Tailwind
colors: {
  custom: {
    50: '#b479de',
    500: '#8e3cce',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cce;
$custom-light: #b479de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cce",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 273.699,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.21512,
    "h": 306
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#8E3CCE
secondary
#AFD393
accent
#E3458A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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