#8D2CC2#8D2CC2

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

Color values

HEX#8D2CC2
RGBrgb(141, 44, 194)
HSLhsl(279, 63%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(27.3%, 77.3%, 0%, 23.9%)
CIE-LABlab(40.18, 63.07, -59.55)
CIE-LCHlch(40.18, 86.74, 316.64°)
OKLaboklab(51.28% 0.142 -0.1689)
OKLCHoklch(51.28% 0.221 310)
XYZxyz(21.6209, 11.3596, 52.0821)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CC2 #61C22C
analogous
#422CC2 #8D2CC2 #C22CAC
triadic
#8D2CC2 #C28D2C #2CC28D
tetradic
#8D2CC2 #C2422C #61C22C #2CACC2
square
#8D2CC2 #C2422C #61C22C #2CACC2
split-complementary
#8D2CC2 #ACC22C #2CC242
monochromatic
#44155E #692190 #8D2CC2 #A953D8 #C285E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2CC2#FFFFFF#000000##FFFFFF
##8D2CC21.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)
#005BC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#855176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2cc2;
/* rgb */ color: rgb(141, 44, 194);
/* oklch */ color: oklch(51.3% 0.221 310.0);
Tailwind
colors: {
  custom: {
    50: '#b370d5',
    500: '#8d2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cc2;
$custom-light: #b370d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cc2",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 278.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.22068,
    "h": 310
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#8D2CC2
secondary
#99CD7D
accent
#E6427C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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