#8D3DC5#8D3DC5

#8D3DC5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.205 H 307.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D3DC5
RGBrgb(141, 61, 197)
HSLhsl(275, 54%, 51%)
HSVhsv(275, 69%, 77%)
CMYKcmyk(28.4%, 69%, 0%, 22.7%)
CIE-LABlab(42.81, 56.85, -57.04)
CIE-LCHlch(42.81, 80.53, 314.91°)
OKLaboklab(53.21% 0.1254 -0.1616)
OKLCHoklch(53.21% 0.205 307.8)
XYZxyz(22.7292, 13.0317, 54.1305)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DC5 #75C53D
analogous
#493DC5 #8D3DC5 #C53DB9
triadic
#8D3DC5 #C58D3D #3DC58D
tetradic
#8D3DC5 #C5493D #75C53D #3DB9C5
square
#8D3DC5 #C5493D #75C53D #3DB9C5
split-complementary
#8D3DC5 #B9C53D #3DC549
monochromatic
#4A1F68 #6C2D98 #8D3DC5 #A96CD3 #C49BE1

Accessibility & contrast

On white

5.82
#8D3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DC5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DC5#FFFFFF#000000##FFFFFF
##8D3DC51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#1B66C2
Tritanopia (blue-blind)
#845B7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3dc5;
/* rgb */ color: rgb(141, 61, 197);
/* oklch */ color: oklch(53.2% 0.205 307.8);
Tailwind
colors: {
  custom: {
    50: '#b379d7',
    500: '#8d3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dc5;
$custom-light: #b379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dc5",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 275.294,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.20456,
    "h": 307.8
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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