#8D3EC3#8D3EC3

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

Color values

HEX#8D3EC3
RGBrgb(141, 62, 195)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 68%, 76%)
CMYKcmyk(27.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(42.84, 55.95, -55.84)
CIE-LCHlch(42.84, 79.05, 315.06°)
OKLaboklab(53.18% 0.1245 -0.1581)
OKLCHoklch(53.18% 0.201 308.2)
XYZxyz(22.5554, 13.0484, 52.9496)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC3 #74C33E
analogous
#4A3EC3 #8D3EC3 #C33EB6
triadic
#8D3EC3 #C38D3E #3EC38D
tetradic
#8D3EC3 #C34A3E #74C33E #3EB6C3
square
#8D3EC3 #C34A3E #74C33E #3EB6C3
split-complementary
#8D3EC3 #B6C33E #3EC34A
monochromatic
#4A2067 #6C2E95 #8D3EC3 #A96DD2 #C49BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3EC3#FFFFFF#000000##FFFFFF
##8D3EC31.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)
#0062C7
Deuteranopia (green-blind)
#2166C0
Tritanopia (blue-blind)
#855B7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3ec3;
/* rgb */ color: rgb(141, 62, 195);
/* oklch */ color: oklch(53.2% 0.201 308.2);
Tailwind
colors: {
  custom: {
    50: '#b379d6',
    500: '#8d3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec3;
$custom-light: #b379d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec3",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 275.639,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.20126,
    "h": 308.2
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#8D3EC3
secondary
#A9CC91
accent
#DC4C86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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