#8D3EC5#8D3EC5

#8D3EC5 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.203 H 307.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC5
RGBrgb(141, 62, 197)
HSLhsl(275, 54%, 51%)
HSVhsv(275, 69%, 77%)
CMYKcmyk(28.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(42.97, 56.40, -56.78)
CIE-LCHlch(42.97, 80.03, 314.81°)
OKLaboklab(53.32% 0.1243 -0.1609)
OKLCHoklch(53.32% 0.203 307.7)
XYZxyz(22.7831, 13.1395, 54.1485)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC5 #76C53E
analogous
#493EC5 #8D3EC5 #C53EB9
triadic
#8D3EC5 #C58D3E #3EC58D
tetradic
#8D3EC5 #C5493E #76C53E #3EB9C5
square
#8D3EC5 #C5493E #76C53E #3EB9C5
split-complementary
#8D3EC5 #B9C53E #3EC549
monochromatic
#4B2069 #6C2E98 #8D3EC5 #A96DD3 #C59CE1

Accessibility & contrast

On white

5.79
#8D3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8D3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC5#FFFFFF#000000##FFFFFF
##8D3EC51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1D66C2
Tritanopia (blue-blind)
#845C7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3ec5;
/* rgb */ color: rgb(141, 62, 197);
/* oklch */ color: oklch(53.3% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#b379d7',
    500: '#8d3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec5;
$custom-light: #b379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec5",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 275.111,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.20331,
    "h": 307.7
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#8D3EC5
secondary
#AACD91
accent
#DD4B87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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