#8D2DC2#8D2DC2

#8D2DC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.220 H 310.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D2DC2
RGBrgb(141, 45, 194)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(27.3%, 76.8%, 0%, 23.9%)
CIE-LABlab(40.30, 62.71, -59.35)
CIE-LCHlch(40.30, 86.34, 316.58°)
OKLaboklab(51.36% 0.1412 -0.1683)
OKLCHoklch(51.36% 0.22 310)
XYZxyz(21.6586, 11.4350, 52.0947)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DC2 #62C22D
analogous
#432DC2 #8D2DC2 #C22DAD
triadic
#8D2DC2 #C28D2D #2DC28D
tetradic
#8D2DC2 #C2432D #62C22D #2DADC2
square
#8D2DC2 #C2432D #62C22D #2DADC2
split-complementary
#8D2DC2 #ADC22D #2DC243
monochromatic
#45165F #692190 #8D2DC2 #A955D7 #C286E3

Accessibility & contrast

On white

6.39
#8D2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DC2#FFFFFF#000000##FFFFFF
##8D2DC21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#855177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2dc2;
/* rgb */ color: rgb(141, 45, 194);
/* oklch */ color: oklch(51.4% 0.220 310.0);
Tailwind
colors: {
  custom: {
    50: '#b371d5',
    500: '#8d2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dc2;
$custom-light: #b371d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dc2",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 278.658,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.21969,
    "h": 310
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#8D2DC2
secondary
#9ACD7E
accent
#E5427C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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