#8D2DC0#8D2DC0

#8D2DC0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.218 H 310.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D2DC0
RGBrgb(141, 45, 192)
HSLhsl(279, 62%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(26.6%, 76.6%, 0%, 24.7%)
CIE-LABlab(40.16, 62.29, -58.42)
CIE-LCHlch(40.16, 85.40, 316.84°)
OKLaboklab(51.21% 0.1416 -0.1656)
OKLCHoklch(51.21% 0.218 310.5)
XYZxyz(21.4355, 11.3458, 50.9197)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DC0 #60C02D
analogous
#442DC0 #8D2DC0 #C02DAA
triadic
#8D2DC0 #C08D2D #2DC08D
tetradic
#8D2DC0 #C0442D #60C02D #2DAAC0
square
#8D2DC0 #C0442D #60C02D #2DAAC0
split-complementary
#8D2DC0 #AAC02D #2DC044
monochromatic
#44165D #69218E #8D2DC0 #A953D7 #C285E2

Accessibility & contrast

On white

6.42
#8D2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DC0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DC0#FFFFFF#000000##FFFFFF
##8D2DC01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0160BD
Tritanopia (blue-blind)
#865176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2dc0;
/* rgb */ color: rgb(141, 45, 192);
/* oklch */ color: oklch(51.2% 0.218 310.5);
Tailwind
colors: {
  custom: {
    50: '#b371d4',
    500: '#8d2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dc0;
$custom-light: #b371d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dc0",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 279.184,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.21785,
    "h": 310.5
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#8D2DC0
secondary
#98CC7D
accent
#E5437B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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