#8D2DC1#8D2DC1

#8D2DC1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.219 H 310.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8D2DC1
RGBrgb(141, 45, 193)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(26.9%, 76.7%, 0%, 24.3%)
CIE-LABlab(40.23, 62.50, -58.88)
CIE-LCHlch(40.23, 85.87, 316.71°)
OKLaboklab(51.29% 0.1414 -0.167)
OKLCHoklch(51.29% 0.219 310.2)
XYZxyz(21.5466, 11.3902, 51.5052)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DC1 #61C12D
analogous
#432DC1 #8D2DC1 #C12DAB
triadic
#8D2DC1 #C18D2D #2DC18D
tetradic
#8D2DC1 #C1432D #61C12D #2DABC1
square
#8D2DC1 #C1432D #61C12D #2DABC1
split-complementary
#8D2DC1 #ABC12D #2DC143
monochromatic
#44165E #69218F #8D2DC1 #A954D7 #C286E3

Accessibility & contrast

On white

6.41
#8D2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DC1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DC1#FFFFFF#000000##FFFFFF
##8D2DC11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#865176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2dc1;
/* rgb */ color: rgb(141, 45, 193);
/* oklch */ color: oklch(51.3% 0.219 310.2);
Tailwind
colors: {
  custom: {
    50: '#b371d5',
    500: '#8d2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dc1;
$custom-light: #b371d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dc1",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 278.919,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.21877,
    "h": 310.2
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#8D2DC1
secondary
#99CC7E
accent
#E5437C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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