#8D3EB3#8D3EB3

#8D3EB3 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.1% C 0.185 H 312.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB3
RGBrgb(141, 62, 179)
HSLhsl(281, 49%, 47%)
HSVhsv(281, 65%, 70%)
CMYKcmyk(21.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(41.79, 52.43, -48.15)
CIE-LCHlch(41.79, 71.18, 317.44°)
OKLaboklab(52.1% 0.1258 -0.1356)
OKLCHoklch(52.1% 0.185 312.9)
XYZxyz(20.8424, 12.3632, 43.9275)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB3 #64B33E
analogous
#533EB3 #8D3EB3 #B33E9F
triadic
#8D3EB3 #B38D3E #3EB38D
tetradic
#8D3EB3 #B3533E #64B33E #3E9FB3
square
#8D3EB3 #B3533E #64B33E #3E9FB3
split-complementary
#8D3EB3 #9FB33E #3EB353
monochromatic
#451F58 #692E86 #8D3EB3 #A965CA #C292D9

Accessibility & contrast

On white

6.05
#8D3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8D3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB3#FFFFFF#000000##FFFFFF
##8D3EB31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#895573
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb3;
/* rgb */ color: rgb(141, 62, 179);
/* oklch */ color: oklch(52.1% 0.185 312.9);
Tailwind
colors: {
  custom: {
    50: '#b279ca',
    500: '#8d3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb3;
$custom-light: #b279ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb3",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 280.513,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.18494,
    "h": 312.9
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#8D3EB3
secondary
#9CC588
accent
#D8507C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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