#8A76EC#8A76EC

#8A76EC is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.171 H 288.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A76EC
RGBrgb(138, 118, 236)
HSLhsl(250, 76%, 69%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(41.5%, 50%, 0%, 7.5%)
CIE-LABlab(56.50, 35.68, -57.23)
CIE-LCHlch(56.50, 67.44, 301.94°)
OKLaboklab(63.95% 0.0539 -0.1624)
OKLCHoklch(63.95% 0.171 288.4)
XYZxyz(32.0957, 24.4152, 82.3621)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76EC #D8EC76
analogous
#769DEC #8A76EC #C576EC
triadic
#8A76EC #EC8A76 #76EC8A
tetradic
#8A76EC #EC769D #D8EC76 #76ECC5
square
#8A76EC #EC769D #D8EC76 #76ECC5
split-complementary
#8A76EC #ECC576 #9DEC76
monochromatic
#3A1CCB #5C40E5 #8A76EC #B8ACF3 #E6E1FB

Accessibility & contrast

On white

3.57
#8A76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76EC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76EC#FFFFFF#000000##000000
##8A76EC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#4485E9
Tritanopia (blue-blind)
#6E8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76ec;
/* rgb */ color: rgb(138, 118, 236);
/* oklch */ color: oklch(63.9% 0.171 288.4);
Tailwind
colors: {
  custom: {
    50: '#b19ef3',
    500: '#8a76ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ec;
$custom-light: #b19ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ec",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 250.169,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63946,
    "c": 0.17109,
    "h": 288.4
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#8A76EC
secondary
#EAF0CE
accent
#D80EB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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