#8D3EC0#8D3EC0

#8D3EC0 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 53.0% C 0.198 H 309.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC0
RGBrgb(141, 62, 192)
HSLhsl(276, 51%, 50%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(26.6%, 67.7%, 0%, 24.7%)
CIE-LABlab(42.63, 55.28, -54.41)
CIE-LCHlch(42.63, 77.57, 315.45°)
OKLaboklab(52.97% 0.1248 -0.1539)
OKLCHoklch(52.97% 0.198 309)
XYZxyz(22.2197, 12.9141, 51.1811)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC0 #71C03E
analogous
#4C3EC0 #8D3EC0 #C03EB2
triadic
#8D3EC0 #C08D3E #3EC08D
tetradic
#8D3EC0 #C04C3E #71C03E #3EB2C0
square
#8D3EC0 #C04C3E #71C03E #3EB2C0
split-complementary
#8D3EC0 #B2C03E #3EC04C
monochromatic
#492063 #6B2F92 #8D3EC0 #A86CCF #C49ADE

Accessibility & contrast

On white

5.86
#8D3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8D3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC0#FFFFFF#000000##FFFFFF
##8D3EC01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2666BD
Tritanopia (blue-blind)
#865A7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3ec0;
/* rgb */ color: rgb(141, 62, 192);
/* oklch */ color: oklch(53.0% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#b279d4',
    500: '#8d3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec0;
$custom-light: #b279d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec0",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 276.462,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.19819,
    "h": 309
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#8D3EC0
secondary
#A7CA8F
accent
#DB4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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