#8D3ECE#8D3ECE

#8D3ECE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.212 H 305.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D3ECE
RGBrgb(141, 62, 206)
HSLhsl(273, 60%, 53%)
HSVhsv(273, 70%, 81%)
CMYKcmyk(31.6%, 69.9%, 0%, 19.2%)
CIE-LABlab(43.60, 58.45, -60.97)
CIE-LCHlch(43.60, 84.46, 313.79°)
OKLaboklab(53.97% 0.1231 -0.1732)
OKLCHoklch(53.97% 0.213 305.4)
XYZxyz(23.8452, 13.5644, 59.7425)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ECE #7FCE3E
analogous
#453ECE #8D3ECE #CE3EC7
triadic
#8D3ECE #CE8D3E #3ECE8D
tetradic
#8D3ECE #CE453E #7FCE3E #3EC7CE
square
#8D3ECE #CE453E #7FCE3E #3EC7CE
split-complementary
#8D3ECE #C7CE3E #3ECE45
monochromatic
#4D1D74 #6D2AA5 #8D3ECE #AA6FDA #C7A0E7

Accessibility & contrast

On white

5.66
#8D3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ECE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ECE#FFFFFF#000000##FFFFFF
##8D3ECE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#815F82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d3ece;
/* rgb */ color: rgb(141, 62, 206);
/* oklch */ color: oklch(54.0% 0.212 305.4);
Tailwind
colors: {
  custom: {
    50: '#b37ade',
    500: '#8d3ece',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ece;
$custom-light: #b37ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ece",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 272.917,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.2125,
    "h": 305.4
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#8D3ECE
secondary
#B1D395
accent
#E3458C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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