#8A76EA#8A76EA

#8A76EA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.168 H 288.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A76EA
RGBrgb(138, 118, 234)
HSLhsl(250, 73%, 69%)
HSVhsv(250, 50%, 92%)
CMYKcmyk(41%, 49.6%, 0%, 8.2%)
CIE-LABlab(56.39, 35.12, -56.30)
CIE-LCHlch(56.39, 66.35, 301.96°)
OKLaboklab(63.82% 0.0538 -0.1596)
OKLCHoklch(63.82% 0.168 288.6)
XYZxyz(31.8068, 24.2996, 80.8404)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76EA #D6EA76
analogous
#769CEA #8A76EA #C476EA
triadic
#8A76EA #EA8A76 #76EA8A
tetradic
#8A76EA #EA769C #D6EA76 #76EAC4
square
#8A76EA #EA769C #D6EA76 #76EAC4
split-complementary
#8A76EA #EAC476 #9CEA76
monochromatic
#3C1FC7 #5D41E2 #8A76EA #B7ABF2 #E5E0FA

Accessibility & contrast

On white

3.58
#8A76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8A76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76EA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76EA#FFFFFF#000000##000000
##8A76EA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#4684E7
Tritanopia (blue-blind)
#6F8EA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76ea;
/* rgb */ color: rgb(138, 118, 234);
/* oklch */ color: oklch(63.8% 0.168 288.6);
Tailwind
colors: {
  custom: {
    50: '#b19ef1',
    500: '#8a76ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ea;
$custom-light: #b19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ea",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 250.345,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.16845,
    "h": 288.6
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#8A76EA
secondary
#E9EFCD
accent
#D610B3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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