#8D3DAF#8D3DAF

#8D3DAF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.182 H 314.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D3DAF
RGBrgb(141, 61, 175)
HSLhsl(282, 48%, 46%)
HSVhsv(282, 65%, 69%)
CMYKcmyk(19.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(41.37, 52.04, -46.46)
CIE-LCHlch(41.37, 69.76, 318.24°)
OKLaboklab(51.71% 0.1272 -0.1306)
OKLCHoklch(51.71% 0.182 314.2)
XYZxyz(20.3898, 12.0960, 41.8098)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DAF #5FAF3D
analogous
#543DAF #8D3DAF #AF3D98
triadic
#8D3DAF #AF8D3D #3DAF8D
tetradic
#8D3DAF #AF543D #5FAF3D #3D98AF
square
#8D3DAF #AF543D #5FAF3D #3D98AF
split-complementary
#8D3DAF #98AF3D #3DAF54
monochromatic
#441D54 #682D82 #8D3DAF #A961C8 #C28FD8

Accessibility & contrast

On white

6.14
#8D3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DAF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DAF#FFFFFF#000000##FFFFFF
##8D3DAF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3daf;
/* rgb */ color: rgb(141, 61, 175);
/* oklch */ color: oklch(51.7% 0.182 314.2);
Tailwind
colors: {
  custom: {
    50: '#b278c7',
    500: '#8d3daf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3daf;
$custom-light: #b278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3daf",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 282.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.18227,
    "h": 314.2
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#8D3DAF
secondary
#97C385
accent
#D85078
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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