#8D2DC6#8D2DC6

#8D2DC6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.223 H 308.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D2DC6
RGBrgb(141, 45, 198)
HSLhsl(278, 63%, 48%)
HSVhsv(278, 77%, 78%)
CMYKcmyk(28.8%, 77.3%, 0%, 22.4%)
CIE-LABlab(40.60, 63.55, -61.20)
CIE-LCHlch(40.60, 88.23, 316.08°)
OKLaboklab(51.67% 0.1403 -0.1738)
OKLCHoklch(51.67% 0.223 308.9)
XYZxyz(22.1138, 11.6171, 54.4925)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DC6 #66C62D
analogous
#402DC6 #8D2DC6 #C62DB2
triadic
#8D2DC6 #C68D2D #2DC68D
tetradic
#8D2DC6 #C6402D #66C62D #2DB2C6
square
#8D2DC6 #C6402D #66C62D #2DB2C6
split-complementary
#8D2DC6 #B2C62D #2DC640
monochromatic
#461662 #692294 #8D2DC6 #A957D9 #C289E4

Accessibility & contrast

On white

6.32
#8D2DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D2DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DC6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DC6#FFFFFF#000000##FFFFFF
##8D2DC61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#845379
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2dc6;
/* rgb */ color: rgb(141, 45, 198);
/* oklch */ color: oklch(51.7% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#b471d8',
    500: '#8d2dc6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dc6;
$custom-light: #b471d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dc6",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 277.647,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.22336,
    "h": 308.9
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#8D2DC6
secondary
#9ECE81
accent
#E6427F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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