#8E3DCC#8E3DCC

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

Color values

HEX#8E3DCC
RGBrgb(142, 61, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(30.4%, 70.1%, 0%, 20%)
CIE-LABlab(43.43, 58.63, -60.09)
CIE-LCHlch(43.43, 83.95, 314.30°)
OKLaboklab(53.83% 0.1258 -0.1706)
OKLCHoklch(53.83% 0.212 306.4)
XYZxyz(23.7208, 13.4481, 58.4611)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DCC #7BCC3D
analogous
#473DCC #8E3DCC #CC3DC2
triadic
#8E3DCC #CC8E3D #3DCC8E
tetradic
#8E3DCC #CC473D #7BCC3D #3DC2CC
square
#8E3DCC #CC473D #7BCC3D #3DC2CC
split-complementary
#8E3DCC #C2CC3D #3DCC47
monochromatic
#4D1E71 #6E2AA1 #8E3DCC #AA6DD9 #C69EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3DCC#FFFFFF#000000##FFFFFF
##8E3DCC1.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)
#0064D0
Deuteranopia (green-blind)
#0667C9
Tritanopia (blue-blind)
#835E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3dcc;
/* rgb */ color: rgb(142, 61, 204);
/* oklch */ color: oklch(53.8% 0.212 306.4);
Tailwind
colors: {
  custom: {
    50: '#b479dc',
    500: '#8e3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dcc;
$custom-light: #b479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dcc",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 273.986,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.21191,
    "h": 306.4
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#8E3DCC
secondary
#AED293
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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