#8D2DC3#8D2DC3

#8D2DC3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.221 H 309.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8D2DC3
RGBrgb(141, 45, 195)
HSLhsl(278, 63%, 47%)
HSVhsv(278, 77%, 76%)
CMYKcmyk(27.7%, 76.9%, 0%, 23.5%)
CIE-LABlab(40.38, 62.92, -59.81)
CIE-LCHlch(40.38, 86.81, 316.45°)
OKLaboklab(51.44% 0.141 -0.1697)
OKLCHoklch(51.44% 0.221 309.7)
XYZxyz(21.7712, 11.4801, 52.6882)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DC3 #63C32D
analogous
#422DC3 #8D2DC3 #C32DAE
triadic
#8D2DC3 #C38D2D #2DC38D
tetradic
#8D2DC3 #C3422D #63C32D #2DAEC3
square
#8D2DC3 #C3422D #63C32D #2DAEC3
split-complementary
#8D2DC3 #AEC32D #2DC342
monochromatic
#451660 #692291 #8D2DC3 #A955D8 #C287E3

Accessibility & contrast

On white

6.37
#8D2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8D2DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DC3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DC3#FFFFFF#000000##FFFFFF
##8D2DC31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#855277
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2dc3;
/* rgb */ color: rgb(141, 45, 195);
/* oklch */ color: oklch(51.4% 0.221 309.7);
Tailwind
colors: {
  custom: {
    50: '#b471d6',
    500: '#8d2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dc3;
$custom-light: #b471d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dc3",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 278.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.22061,
    "h": 309.7
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#8D2DC3
secondary
#9BCD7F
accent
#E6427D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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