#8D3FA5#8D3FA5

#8D3FA5 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.169 H 317.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D3FA5
RGBrgb(141, 63, 165)
HSLhsl(286, 45%, 45%)
HSVhsv(286, 62%, 65%)
CMYKcmyk(14.5%, 61.8%, 0%, 35.3%)
CIE-LABlab(41.11, 48.98, -40.92)
CIE-LCHlch(41.11, 63.83, 320.12°)
OKLaboklab(51.33% 0.1248 -0.1144)
OKLCHoklch(51.33% 0.169 317.5)
XYZxyz(19.5526, 11.9351, 36.8638)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FA5 #57A53F
analogous
#5A3FA5 #8D3FA5 #A53F8A
triadic
#8D3FA5 #A58D3F #3FA58D
tetradic
#8D3FA5 #A55A3F #57A53F #3F8AA5
square
#8D3FA5 #A55A3F #57A53F #3F8AA5
split-complementary
#8D3FA5 #8AA53F #3FA55A
monochromatic
#411D4C #672E79 #8D3FA5 #AB5FC2 #C28CD3

Accessibility & contrast

On white

6.20
#8D3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3FA5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FA5#FFFFFF#000000##FFFFFF
##8D3FA51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#8C506C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3fa5;
/* rgb */ color: rgb(141, 63, 165);
/* oklch */ color: oklch(51.3% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#b179c0',
    500: '#8d3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fa5;
$custom-light: #b179c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fa5",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 285.882,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.16932,
    "h": 317.5
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#8D3FA5
secondary
#90BE82
accent
#D45372
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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