#8D2CC1#8D2CC1

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

Color values

HEX#8D2CC1
RGBrgb(141, 44, 193)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(26.9%, 77.2%, 0%, 24.3%)
CIE-LABlab(40.11, 62.86, -59.09)
CIE-LCHlch(40.11, 86.27, 316.77°)
OKLaboklab(51.2% 0.1422 -0.1676)
OKLCHoklch(51.2% 0.22 310.3)
XYZxyz(21.5089, 11.3148, 51.4927)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CC1 #60C12C
analogous
#422CC1 #8D2CC1 #C12CAB
triadic
#8D2CC1 #C18D2C #2CC18D
tetradic
#8D2CC1 #C1422C #60C12C #2CABC1
square
#8D2CC1 #C1422C #60C12C #2CABC1
split-complementary
#8D2CC1 #ABC12C #2CC142
monochromatic
#44155D #69218F #8D2CC1 #A953D8 #C284E3

Accessibility & contrast

On white

6.44
#8D2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CC1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CC1#FFFFFF#000000##FFFFFF
##8D2CC11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2cc1;
/* rgb */ color: rgb(141, 44, 193);
/* oklch */ color: oklch(51.2% 0.220 310.3);
Tailwind
colors: {
  custom: {
    50: '#b370d5',
    500: '#8d2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cc1;
$custom-light: #b370d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cc1",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 279.06,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.512,
    "c": 0.21977,
    "h": 310.3
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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