#8D3EC8#8D3EC8

#8D3EC8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.206 H 306.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC8
RGBrgb(141, 62, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 69%, 78%)
CMYKcmyk(29.5%, 69%, 0%, 21.6%)
CIE-LABlab(43.18, 57.08, -58.18)
CIE-LCHlch(43.18, 81.51, 314.45°)
OKLaboklab(53.54% 0.1239 -0.165)
OKLCHoklch(53.54% 0.206 306.9)
XYZxyz(23.1302, 13.2784, 55.9768)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC8 #79C83E
analogous
#483EC8 #8D3EC8 #C83EBE
triadic
#8D3EC8 #C88D3E #3EC88D
tetradic
#8D3EC8 #C8483E #79C83E #3EBEC8
square
#8D3EC8 #C8483E #79C83E #3EBEC8
split-complementary
#8D3EC8 #BEC83E #3EC848
monochromatic
#4B1F6D #6C2D9C #8D3EC8 #A96ED6 #C59DE3

Accessibility & contrast

On white

5.74
#8D3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8D3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC8#FFFFFF#000000##FFFFFF
##8D3EC81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1567C5
Tritanopia (blue-blind)
#835D7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3ec8;
/* rgb */ color: rgb(141, 62, 200);
/* oklch */ color: oklch(53.5% 0.206 306.9);
Tailwind
colors: {
  custom: {
    50: '#b379d9',
    500: '#8d3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec8;
$custom-light: #b379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec8",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 274.348,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.20637,
    "h": 306.9
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#8D3EC8
secondary
#ACCF92
accent
#DF4989
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8D3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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