#8D2EC8#8D2EC8

#8D2EC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.224 H 308.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2EC8
RGBrgb(141, 46, 200)
HSLhsl(277, 63%, 48%)
HSVhsv(277, 77%, 78%)
CMYKcmyk(29.5%, 77%, 0%, 21.6%)
CIE-LABlab(40.88, 63.62, -61.92)
CIE-LCHlch(40.88, 88.78, 315.78°)
OKLaboklab(51.91% 0.1391 -0.1759)
OKLCHoklch(51.91% 0.224 308.3)
XYZxyz(22.3847, 11.7872, 55.7283)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EC8 #69C82E
analogous
#402EC8 #8D2EC8 #C82EB6
triadic
#8D2EC8 #C88D2E #2EC88D
tetradic
#8D2EC8 #C8402E #69C82E #2EB6C8
square
#8D2EC8 #C8402E #69C82E #2EB6C8
split-complementary
#8D2EC8 #B6C82E #2EC840
monochromatic
#471764 #6A2396 #8D2EC8 #A85AD9 #C38CE5

Accessibility & contrast

On white

6.25
#8D2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D2EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EC8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EC8#FFFFFF#000000##FFFFFF
##8D2EC81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#84557A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2ec8;
/* rgb */ color: rgb(141, 46, 200);
/* oklch */ color: oklch(51.9% 0.224 308.3);
Tailwind
colors: {
  custom: {
    50: '#b471da',
    500: '#8d2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ec8;
$custom-light: #b471da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ec8",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 277.013,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.22423,
    "h": 308.3
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#8D2EC8
secondary
#A0CF83
accent
#E64281
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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