#8D2EC2#8D2EC2

#8D2EC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.219 H 309.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D2EC2
RGBrgb(141, 46, 194)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(27.3%, 76.3%, 0%, 23.9%)
CIE-LABlab(40.43, 62.35, -59.15)
CIE-LCHlch(40.43, 85.94, 316.51°)
OKLaboklab(51.45% 0.1403 -0.1677)
OKLCHoklch(51.45% 0.219 309.9)
XYZxyz(21.6972, 11.5122, 52.1076)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EC2 #63C22E
analogous
#432EC2 #8D2EC2 #C22EAD
triadic
#8D2EC2 #C28D2E #2EC28D
tetradic
#8D2EC2 #C2432E #63C22E #2EADC2
square
#8D2EC2 #C2432E #63C22E #2EADC2
split-complementary
#8D2EC2 #ADC22E #2EC243
monochromatic
#45175F #692291 #8D2EC2 #A956D7 #C288E3

Accessibility & contrast

On white

6.36
#8D2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2EC2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EC2#FFFFFF#000000##FFFFFF
##8D2EC21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#855277
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2ec2;
/* rgb */ color: rgb(141, 46, 194);
/* oklch */ color: oklch(51.5% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#b371d5',
    500: '#8d2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ec2;
$custom-light: #b371d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ec2",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 278.514,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.21867,
    "h": 309.9
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#8D2EC2
secondary
#9BCC7F
accent
#E5437D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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