#8D76EC#8D76EC

#8D76EC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.2% C 0.171 H 289.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8D76EC
RGBrgb(141, 118, 236)
HSLhsl(252, 76%, 69%)
HSVhsv(252, 50%, 93%)
CMYKcmyk(40.3%, 50%, 0%, 7.5%)
CIE-LABlab(56.76, 36.38, -56.80)
CIE-LCHlch(56.76, 67.46, 302.64°)
OKLaboklab(64.2% 0.0576 -0.161)
OKLCHoklch(64.2% 0.171 289.7)
XYZxyz(32.5991, 24.6747, 82.3857)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D76EC #D5EC76
analogous
#769AEC #8D76EC #C876EC
triadic
#8D76EC #EC8D76 #76EC8D
tetradic
#8D76EC #EC769A #D5EC76 #76ECC8
square
#8D76EC #EC769A #D5EC76 #76ECC8
split-complementary
#8D76EC #ECC876 #9AEC76
monochromatic
#3E1CCB #6040E5 #8D76EC #BAACF3 #E6E1FB

Accessibility & contrast

On white

3.54
#8D76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8D76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D76EC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D76EC#FFFFFF#000000##000000
##8D76EC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#738EA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d76ec;
/* rgb */ color: rgb(141, 118, 236);
/* oklch */ color: oklch(64.2% 0.171 289.7);
Tailwind
colors: {
  custom: {
    50: '#b39ef3',
    500: '#8d76ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d76ec;
$custom-light: #b39ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d76ec",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 251.695,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.642,
    "c": 0.17101,
    "h": 289.7
  },
  "luminance": 0.24676
}

Semantic roles & 50–950 ramp

primary
#8D76EC
secondary
#E9F0CE
accent
#D80EB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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