#8E3CD3#8E3CD3

#8E3CD3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.220 H 304.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8E3CD3
RGBrgb(142, 60, 211)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 72%, 83%)
CMYKcmyk(32.7%, 71.6%, 0%, 17.3%)
CIE-LABlab(43.78, 60.66, -63.56)
CIE-LCHlch(43.78, 87.86, 313.66°)
OKLaboklab(54.24% 0.1256 -0.1808)
OKLCHoklch(54.24% 0.22 304.8)
XYZxyz(24.5264, 13.6858, 62.9649)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CD3 #81D33C
analogous
#423CD3 #8E3CD3 #D33CCC
triadic
#8E3CD3 #D38E3C #3CD38E
tetradic
#8E3CD3 #D3423C #81D33C #3CCCD3
square
#8E3CD3 #D3423C #81D33C #3CCCD3
split-complementary
#8E3CD3 #CCD33C #3CD342
monochromatic
#4E1B79 #6F27AB #8E3CD3 #AB6EDE #C8A0EA

Accessibility & contrast

On white

5.62
#8E3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CD3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CD3#FFFFFF#000000##FFFFFF
##8E3CD31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#816084
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3cd3;
/* rgb */ color: rgb(142, 60, 211);
/* oklch */ color: oklch(54.2% 0.220 304.8);
Tailwind
colors: {
  custom: {
    50: '#b579e1',
    500: '#8e3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cd3;
$custom-light: #b579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cd3",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 272.583,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.22014,
    "h": 304.8
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#8E3CD3
secondary
#B3D695
accent
#E6428D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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