#8D2BC2#8D2BC2

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

Color values

HEX#8D2BC2
RGBrgb(141, 43, 194)
HSLhsl(279, 64%, 46%)
HSVhsv(279, 78%, 76%)
CMYKcmyk(27.3%, 77.8%, 0%, 23.9%)
CIE-LABlab(40.06, 63.42, -59.75)
CIE-LCHlch(40.06, 87.13, 316.71°)
OKLaboklab(51.19% 0.1428 -0.1695)
OKLCHoklch(51.19% 0.222 310.1)
XYZxyz(21.5841, 11.2860, 52.0699)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BC2 #60C22B
analogous
#412BC2 #8D2BC2 #C22BAC
triadic
#8D2BC2 #C28D2B #2BC28D
tetradic
#8D2BC2 #C2412B #60C22B #2BACC2
square
#8D2BC2 #C2412B #60C22B #2BACC2
split-complementary
#8D2BC2 #ACC22B #2BC241
monochromatic
#44155E #692090 #8D2BC2 #A952D9 #C284E4

Accessibility & contrast

On white

6.45
#8D2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2BC2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BC2#FFFFFF#000000##FFFFFF
##8D2BC21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#855076
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2bc2;
/* rgb */ color: rgb(141, 43, 194);
/* oklch */ color: oklch(51.2% 0.222 310.1);
Tailwind
colors: {
  custom: {
    50: '#b470d5',
    500: '#8d2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2bc2;
$custom-light: #b470d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2bc2",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 278.94,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.22165,
    "h": 310.1
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#8D2BC2
secondary
#98CD7C
accent
#E7417B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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