#8D3ED5#8D3ED5

#8D3ED5 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.220 H 303.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D3ED5
RGBrgb(141, 62, 213)
HSLhsl(271, 64%, 54%)
HSVhsv(271, 71%, 84%)
CMYKcmyk(33.8%, 70.9%, 0%, 16.5%)
CIE-LABlab(44.11, 60.06, -64.18)
CIE-LCHlch(44.11, 87.90, 313.10°)
OKLaboklab(54.49% 0.122 -0.1826)
OKLCHoklch(54.49% 0.22 303.7)
XYZxyz(24.7146, 13.9121, 64.3212)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ED5 #86D53E
analogous
#423ED5 #8D3ED5 #D53ED1
triadic
#8D3ED5 #D58D3E #3ED58D
tetradic
#8D3ED5 #D5423E #86D53E #3ED1D5
square
#8D3ED5 #D5423E #86D53E #3ED1D5
split-complementary
#8D3ED5 #D1D53E #3ED542
monochromatic
#4F1B7D #6E26B0 #8D3ED5 #AB70E0 #C8A3EB

Accessibility & contrast

On white

5.55
#8D3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ED5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ED5#FFFFFF#000000##FFFFFF
##8D3ED51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#7F6286
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3ed5;
/* rgb */ color: rgb(141, 62, 213);
/* oklch */ color: oklch(54.5% 0.220 303.7);
Tailwind
colors: {
  custom: {
    50: '#b47ae3',
    500: '#8d3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ed5;
$custom-light: #b47ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ed5",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 271.391,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.21965,
    "h": 303.7
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#8D3ED5
secondary
#B6D897
accent
#E74190
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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