#8A76E8#8A76E8

#8A76E8 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.7% C 0.166 H 288.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A76E8
RGBrgb(138, 118, 232)
HSLhsl(251, 71%, 69%)
HSVhsv(251, 49%, 91%)
CMYKcmyk(40.5%, 49.1%, 0%, 9%)
CIE-LABlab(56.27, 34.57, -55.36)
CIE-LCHlch(56.27, 65.27, 301.98°)
OKLaboklab(63.7% 0.0536 -0.1569)
OKLCHoklch(63.7% 0.166 288.9)
XYZxyz(31.5211, 24.1853, 79.3357)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E8 #D4E876
analogous
#769BE8 #8A76E8 #C376E8
triadic
#8A76E8 #E88A76 #76E88A
tetradic
#8A76E8 #E8769B #D4E876 #76E8C3
square
#8A76E8 #E8769B #D4E876 #76E8C3
split-complementary
#8A76E8 #E8C376 #9BE876
monochromatic
#3D21C3 #5D42DF #8A76E8 #B7AAF1 #E4DFFA

Accessibility & contrast

On white

3.60
#8A76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E8#FFFFFF#000000##000000
##8A76E81.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EC
Deuteranopia (green-blind)
#4884E5
Tritanopia (blue-blind)
#708DA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76e8;
/* rgb */ color: rgb(138, 118, 232);
/* oklch */ color: oklch(63.7% 0.166 288.9);
Tailwind
colors: {
  custom: {
    50: '#b19ef0',
    500: '#8a76e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e8;
$custom-light: #b19ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e8",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 250.526,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.1658,
    "h": 288.9
  },
  "luminance": 0.24186
}

Semantic roles & 50–950 ramp

primary
#8A76E8
secondary
#E8EECC
accent
#D312B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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