#8D3EC6#8D3EC6

#8D3EC6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.204 H 307.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC6
RGBrgb(141, 62, 198)
HSLhsl(275, 54%, 51%)
HSVhsv(275, 69%, 78%)
CMYKcmyk(28.8%, 68.7%, 0%, 22.4%)
CIE-LABlab(43.04, 56.63, -57.25)
CIE-LCHlch(43.04, 80.52, 314.69°)
OKLaboklab(53.39% 0.1242 -0.1623)
OKLCHoklch(53.39% 0.204 307.4)
XYZxyz(22.8980, 13.1855, 54.7539)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC6 #77C63E
analogous
#493EC6 #8D3EC6 #C63EBB
triadic
#8D3EC6 #C68D3E #3EC68D
tetradic
#8D3EC6 #C6493E #77C63E #3EBBC6
square
#8D3EC6 #C6493E #77C63E #3EBBC6
split-complementary
#8D3EC6 #BBC63E #3EC649
monochromatic
#4B1F6A #6C2D99 #8D3EC6 #A96DD4 #C59CE2

Accessibility & contrast

On white

5.77
#8D3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC6#FFFFFF#000000##FFFFFF
##8D3EC61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#845C7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3ec6;
/* rgb */ color: rgb(141, 62, 198);
/* oklch */ color: oklch(53.4% 0.204 307.4);
Tailwind
colors: {
  custom: {
    50: '#b379d8',
    500: '#8d3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec6;
$custom-light: #b379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec6",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 274.853,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.20433,
    "h": 307.4
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#8D3EC6
secondary
#ABCE92
accent
#DE4A88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8D3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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