#8D3FA2#8D3FA2

#8D3FA2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.166 H 318.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8D3FA2
RGBrgb(141, 63, 162)
HSLhsl(287, 44%, 44%)
HSVhsv(287, 61%, 64%)
CMYKcmyk(13%, 61.1%, 0%, 36.5%)
CIE-LABlab(40.94, 48.36, -39.41)
CIE-LCHlch(40.94, 62.39, 320.83°)
OKLaboklab(51.15% 0.1247 -0.11)
OKLCHoklch(51.15% 0.166 318.6)
XYZxyz(19.2827, 11.8272, 35.4426)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FA2 #54A23F
analogous
#5C3FA2 #8D3FA2 #A23F86
triadic
#8D3FA2 #A28D3F #3FA28D
tetradic
#8D3FA2 #A25C3F #54A23F #3F86A2
square
#8D3FA2 #A25C3F #54A23F #3F86A2
split-complementary
#8D3FA2 #86A23F #3FA25C
monochromatic
#401D4A #672E76 #8D3FA2 #AB5EC0 #C28AD1

Accessibility & contrast

On white

6.24
#8D3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FA2#FFFFFF#000000##FFFFFF
##8D3FA21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#8D4F6A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3fa2;
/* rgb */ color: rgb(141, 63, 162);
/* oklch */ color: oklch(51.2% 0.166 318.6);
Tailwind
colors: {
  custom: {
    50: '#b179be',
    500: '#8d3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fa2;
$custom-light: #b179be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fa2",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 287.273,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.16631,
    "h": 318.6
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#8D3FA2
secondary
#8DBC81
accent
#D4546F
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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