#8D3EC7#8D3EC7

#8D3EC7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.205 H 307.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC7
RGBrgb(141, 62, 199)
HSLhsl(275, 55%, 51%)
HSVhsv(275, 69%, 78%)
CMYKcmyk(29.1%, 68.8%, 0%, 22%)
CIE-LABlab(43.11, 56.85, -57.72)
CIE-LCHlch(43.11, 81.02, 314.57°)
OKLaboklab(53.47% 0.1241 -0.1636)
OKLCHoklch(53.47% 0.205 307.2)
XYZxyz(23.0138, 13.2318, 55.3634)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC7 #78C73E
analogous
#483EC7 #8D3EC7 #C73EBC
triadic
#8D3EC7 #C78D3E #3EC78D
tetradic
#8D3EC7 #C7483E #78C73E #3EBCC7
square
#8D3EC7 #C7483E #78C73E #3EBCC7
split-complementary
#8D3EC7 #BCC73E #3EC748
monochromatic
#4B1F6B #6C2D9B #8D3EC7 #A96DD5 #C59DE3

Accessibility & contrast

On white

5.76
#8D3EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8D3EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC7#FFFFFF#000000##FFFFFF
##8D3EC71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1866C4
Tritanopia (blue-blind)
#835D7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3ec7;
/* rgb */ color: rgb(141, 62, 199);
/* oklch */ color: oklch(53.5% 0.205 307.2);
Tailwind
colors: {
  custom: {
    50: '#b379d9',
    500: '#8d3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec7;
$custom-light: #b379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec7",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 274.599,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.20534,
    "h": 307.2
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#8D3EC7
secondary
#ACCF92
accent
#DE4988
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8D3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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