#8D3EB4#8D3EB4

#8D3EB4 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.186 H 312.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB4
RGBrgb(141, 62, 180)
HSLhsl(280, 49%, 47%)
HSVhsv(280, 66%, 71%)
CMYKcmyk(21.7%, 65.6%, 0%, 29.4%)
CIE-LABlab(41.85, 52.64, -48.64)
CIE-LCHlch(41.85, 71.67, 317.27°)
OKLaboklab(52.16% 0.1258 -0.137)
OKLCHoklch(52.16% 0.186 312.6)
XYZxyz(20.9439, 12.4038, 44.4621)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB4 #65B43E
analogous
#523EB4 #8D3EB4 #B43EA0
triadic
#8D3EB4 #B48D3E #3EB48D
tetradic
#8D3EB4 #B4523E #65B43E #3EA0B4
square
#8D3EB4 #B4523E #65B43E #3EA0B4
split-complementary
#8D3EB4 #A0B43E #3EB452
monochromatic
#461F59 #692E86 #8D3EB4 #A965CA #C293DA

Accessibility & contrast

On white

6.03
#8D3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8D3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB4#FFFFFF#000000##FFFFFF
##8D3EB41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#895574
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb4;
/* rgb */ color: rgb(141, 62, 180);
/* oklch */ color: oklch(52.2% 0.186 312.6);
Tailwind
colors: {
  custom: {
    50: '#b279cb',
    500: '#8d3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb4;
$custom-light: #b279cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb4",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 280.169,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.18596,
    "h": 312.6
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#8D3EB4
secondary
#9DC589
accent
#D84F7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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