#8E3CD2#8E3CD2

#8E3CD2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.219 H 305.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8E3CD2
RGBrgb(142, 60, 210)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(32.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(43.71, 60.43, -63.10)
CIE-LCHlch(43.71, 87.37, 313.76°)
OKLaboklab(54.16% 0.1258 -0.1794)
OKLCHoklch(54.16% 0.219 305)
XYZxyz(24.4014, 13.6358, 62.3067)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CD2 #80D23C
analogous
#433CD2 #8E3CD2 #D23CCB
triadic
#8E3CD2 #D28E3C #3CD28E
tetradic
#8E3CD2 #D2433C #80D23C #3CCBD2
square
#8E3CD2 #D2433C #80D23C #3CCBD2
split-complementary
#8E3CD2 #CBD23C #3CD243
monochromatic
#4E1C78 #6E27AA #8E3CD2 #AB6EDD #C89FE9

Accessibility & contrast

On white

5.63
#8E3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8E3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CD2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CD2#FFFFFF#000000##FFFFFF
##8E3CD21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#816083
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3cd2;
/* rgb */ color: rgb(142, 60, 210);
/* oklch */ color: oklch(54.2% 0.219 305.0);
Tailwind
colors: {
  custom: {
    50: '#b479e1',
    500: '#8e3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cd2;
$custom-light: #b479e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cd2",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 272.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.21914,
    "h": 305
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#8E3CD2
secondary
#B2D594
accent
#E6428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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