#8D3FA6#8D3FA6

#8D3FA6 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.4% C 0.170 H 317.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D3FA6
RGBrgb(141, 63, 166)
HSLhsl(285, 45%, 45%)
HSVhsv(285, 62%, 65%)
CMYKcmyk(15.1%, 62%, 0%, 34.9%)
CIE-LABlab(41.17, 49.19, -41.43)
CIE-LCHlch(41.17, 64.31, 319.90°)
OKLaboklab(51.4% 0.1248 -0.1159)
OKLCHoklch(51.4% 0.17 317.1)
XYZxyz(19.6439, 11.9717, 37.3450)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FA6 #58A63F
analogous
#5A3FA6 #8D3FA6 #A63F8B
triadic
#8D3FA6 #A68D3F #3FA68D
tetradic
#8D3FA6 #A65A3F #58A63F #3F8BA6
square
#8D3FA6 #A65A3F #58A63F #3F8BA6
split-complementary
#8D3FA6 #8BA63F #3FA65A
monochromatic
#421D4D #672E7A #8D3FA6 #AB60C3 #C28CD3

Accessibility & contrast

On white

6.19
#8D3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8D3FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FA6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FA6#FFFFFF#000000##FFFFFF
##8D3FA61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#8C516D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3fa6;
/* rgb */ color: rgb(141, 63, 166);
/* oklch */ color: oklch(51.4% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#b179c1',
    500: '#8d3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fa6;
$custom-light: #b179c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fa6",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 285.437,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.17033,
    "h": 317.1
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#8D3FA6
secondary
#91BE83
accent
#D55373
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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