#8D3CAF#8D3CAF

#8D3CAF is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.184 H 314.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8D3CAF
RGBrgb(141, 60, 175)
HSLhsl(282, 49%, 46%)
HSVhsv(282, 66%, 69%)
CMYKcmyk(19.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(41.20, 52.50, -46.73)
CIE-LCHlch(41.20, 70.28, 318.33°)
OKLaboklab(51.59% 0.1283 -0.1314)
OKLCHoklch(51.59% 0.184 314.3)
XYZxyz(20.3369, 11.9902, 41.7922)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CAF #5EAF3C
analogous
#533CAF #8D3CAF #AF3C97
triadic
#8D3CAF #AF8D3C #3CAF8D
tetradic
#8D3CAF #AF533C #5EAF3C #3C97AF
square
#8D3CAF #AF533C #5EAF3C #3C97AF
split-complementary
#8D3CAF #97AF3C #3CAF53
monochromatic
#441D54 #682C81 #8D3CAF #A960C8 #C28DD8

Accessibility & contrast

On white

6.18
#8D3CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D3CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CAF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CAF#FFFFFF#000000##FFFFFF
##8D3CAF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#8A5270
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3caf;
/* rgb */ color: rgb(141, 60, 175);
/* oklch */ color: oklch(51.6% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#b277c7',
    500: '#8d3caf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3caf;
$custom-light: #b277c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3caf",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 282.261,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.18366,
    "h": 314.3
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#8D3CAF
secondary
#97C384
accent
#D84F78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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