#8E3ECA#8E3ECA

#8E3ECA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.209 H 306.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E3ECA
RGBrgb(142, 62, 202)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 69%, 79%)
CMYKcmyk(29.7%, 69.3%, 0%, 20.8%)
CIE-LABlab(43.45, 57.73, -58.90)
CIE-LCHlch(43.45, 82.48, 314.43°)
OKLaboklab(53.8% 0.125 -0.1671)
OKLCHoklch(53.8% 0.209 306.8)
XYZxyz(23.5363, 13.4606, 57.2239)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ECA #7ACA3E
analogous
#483ECA #8E3ECA #CA3EC0
triadic
#8E3ECA #CA8E3E #3ECA8E
tetradic
#8E3ECA #CA483E #7ACA3E #3EC0CA
square
#8E3ECA #CA483E #7ACA3E #3EC0CA
split-complementary
#8E3ECA #C0CA3E #3ECA48
monochromatic
#4D1F6F #6E2C9F #8E3ECA #AA6ED7 #C69EE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3ECA#FFFFFF#000000##FFFFFF
##8E3ECA1.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)
#0064CE
Deuteranopia (green-blind)
#1267C7
Tritanopia (blue-blind)
#845E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3eca;
/* rgb */ color: rgb(142, 62, 202);
/* oklch */ color: oklch(53.8% 0.209 306.8);
Tailwind
colors: {
  custom: {
    50: '#b479db',
    500: '#8e3eca',
    950: '#000000',
  },
}
SCSS
$custom: #8e3eca;
$custom-light: #b479db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3eca",
  "rgb": {
    "r": 142,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 274.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.538,
    "c": 0.20867,
    "h": 306.8
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#8E3ECA
secondary
#AED193
accent
#E04889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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