#8E3DCA#8E3DCA

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

Color values

HEX#8E3DCA
RGBrgb(142, 61, 202)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 70%, 79%)
CMYKcmyk(29.7%, 69.8%, 0%, 20.8%)
CIE-LABlab(43.29, 58.18, -59.16)
CIE-LCHlch(43.29, 82.97, 314.52°)
OKLaboklab(53.69% 0.126 -0.1678)
OKLCHoklch(53.69% 0.21 306.9)
XYZxyz(23.4825, 13.3528, 57.2059)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DCA #79CA3D
analogous
#483DCA #8E3DCA #CA3DC0
triadic
#8E3DCA #CA8E3D #3DCA8E
tetradic
#8E3DCA #CA483D #79CA3D #3DC0CA
square
#8E3DCA #CA483D #79CA3D #3DC0CA
split-complementary
#8E3DCA #C0CA3D #3DCA48
monochromatic
#4C1E6E #6D2B9F #8E3DCA #AA6DD7 #C69DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3DCA#FFFFFF#000000##FFFFFF
##8E3DCA1.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)
#0064CE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#845D7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3dca;
/* rgb */ color: rgb(142, 61, 202);
/* oklch */ color: oklch(53.7% 0.210 306.9);
Tailwind
colors: {
  custom: {
    50: '#b479db',
    500: '#8e3dca',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dca;
$custom-light: #b479db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dca",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 274.468,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.20989,
    "h": 306.9
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#8E3DCA
secondary
#ADD092
accent
#E04789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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