#8D3EAF#8D3EAF

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

Color values

HEX#8D3EAF
RGBrgb(141, 62, 175)
HSLhsl(282, 48%, 46%)
HSVhsv(282, 65%, 69%)
CMYKcmyk(19.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(41.54, 51.57, -46.19)
CIE-LCHlch(41.54, 69.23, 318.15°)
OKLaboklab(51.84% 0.126 -0.1298)
OKLCHoklch(51.84% 0.181 314.1)
XYZxyz(20.4437, 12.2038, 41.8278)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EAF #60AF3E
analogous
#553EAF #8D3EAF #AF3E99
triadic
#8D3EAF #AF8D3E #3EAF8D
tetradic
#8D3EAF #AF553E #60AF3E #3E99AF
square
#8D3EAF #AF553E #60AF3E #3E99AF
split-complementary
#8D3EAF #99AF3E #3EAF55
monochromatic
#441E55 #692E82 #8D3EAF #A963C8 #C290D8

Accessibility & contrast

On white

6.10
#8D3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3EAF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EAF#FFFFFF#000000##FFFFFF
##8D3EAF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5EB2
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#8A5371
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3eaf;
/* rgb */ color: rgb(141, 62, 175);
/* oklch */ color: oklch(51.8% 0.181 314.1);
Tailwind
colors: {
  custom: {
    50: '#b279c7',
    500: '#8d3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eaf;
$custom-light: #b279c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eaf",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 281.947,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.18087,
    "h": 314.1
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#8D3EAF
secondary
#98C386
accent
#D75179
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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