#8D1CD2#8D1CD2

#8D1CD2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.4% C 0.247 H 306.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8D1CD2
RGBrgb(141, 28, 210)
HSLhsl(277, 76%, 47%)
HSVhsv(277, 87%, 82%)
CMYKcmyk(32.9%, 86.7%, 0%, 17.6%)
CIE-LABlab(39.83, 71.08, -69.43)
CIE-LCHlch(39.83, 99.36, 315.68°)
OKLaboklab(51.42% 0.1485 -0.1978)
OKLCHoklch(51.42% 0.247 306.9)
XYZxyz(23.0301, 11.1466, 61.8985)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1CD2 #61D21C
analogous
#321CD2 #8D1CD2 #D21CBC
triadic
#8D1CD2 #D28D1C #1CD28D
tetradic
#8D1CD2 #D2321C #61D21C #1CBCD2
square
#8D1CD2 #D2321C #61D21C #1CBCD2
split-complementary
#8D1CD2 #BCD21C #1CD232
monochromatic
#440E66 #69159C #8D1CD2 #A945E6 #C27BED

Accessibility & contrast

On white

6.50
#8D1CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D1CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D1CD2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1CD2#FFFFFF#000000##FFFFFF
##8D1CD21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#81527D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d1cd2;
/* rgb */ color: rgb(141, 28, 210);
/* oklch */ color: oklch(51.4% 0.247 306.9);
Tailwind
colors: {
  custom: {
    50: '#b56be1',
    500: '#8d1cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d1cd2;
$custom-light: #b56be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1cd2",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 210
  },
  "hsl": {
    "h": 277.253,
    "s": 76.471,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.24735,
    "h": 306.9
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#8D1CD2
secondary
#99D575
accent
#F3357D
background
#FBF6FD
surface
#F7ECFB
border
#D0C7D4
text
#120815
muted
#817A83

Preview Lab

Preview with #8D1CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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