#8D3FAC#8D3FAC

#8D3FAC is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.8% C 0.176 H 315.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8D3FAC
RGBrgb(141, 63, 172)
HSLhsl(283, 46%, 46%)
HSVhsv(283, 63%, 67%)
CMYKcmyk(18%, 63.4%, 0%, 32.5%)
CIE-LABlab(41.53, 50.46, -44.43)
CIE-LCHlch(41.53, 67.23, 318.64°)
OKLaboklab(51.77% 0.1248 -0.1247)
OKLCHoklch(51.77% 0.176 315)
XYZxyz(20.2072, 12.1970, 40.3115)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FAC #5EAC3F
analogous
#563FAC #8D3FAC #AC3F94
triadic
#8D3FAC #AC8D3F #3FAC8D
tetradic
#8D3FAC #AC563F #5EAC3F #3F94AC
square
#8D3FAC #AC563F #5EAC3F #3F94AC
split-complementary
#8D3FAC #94AC3F #3FAC56
monochromatic
#441E52 #682F7F #8D3FAC #A963C6 #C28FD6

Accessibility & contrast

On white

6.11
#8D3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8D3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FAC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FAC#FFFFFF#000000##FFFFFF
##8D3FAC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#8B5370
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3fac;
/* rgb */ color: rgb(141, 63, 172);
/* oklch */ color: oklch(51.8% 0.176 315.0);
Tailwind
colors: {
  custom: {
    50: '#b179c5',
    500: '#8d3fac',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fac;
$custom-light: #b179c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fac",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 282.936,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.17641,
    "h": 315
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#8D3FAC
secondary
#97C186
accent
#D65277
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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