#8A76E9#8A76E9

#8A76E9 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.8% C 0.167 H 288.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A76E9
RGBrgb(138, 118, 233)
HSLhsl(250, 72%, 69%)
HSVhsv(250, 49%, 91%)
CMYKcmyk(40.8%, 49.4%, 0%, 8.6%)
CIE-LABlab(56.33, 34.85, -55.83)
CIE-LCHlch(56.33, 65.81, 301.97°)
OKLaboklab(63.76% 0.0537 -0.1583)
OKLCHoklch(63.76% 0.167 288.7)
XYZxyz(31.6636, 24.2423, 80.0859)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E9 #D5E976
analogous
#769CE9 #8A76E9 #C476E9
triadic
#8A76E9 #E98A76 #76E98A
tetradic
#8A76E9 #E9769C #D5E976 #76E9C4
square
#8A76E9 #E9769C #D5E976 #76E9C4
split-complementary
#8A76E9 #E9C476 #9CE976
monochromatic
#3C20C5 #5D41E1 #8A76E9 #B7ABF1 #E4DFFA

Accessibility & contrast

On white

3.59
#8A76E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A76E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E9#FFFFFF#000000##000000
##8A76E91.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AED
Deuteranopia (green-blind)
#4784E6
Tritanopia (blue-blind)
#6F8EA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76e9;
/* rgb */ color: rgb(138, 118, 233);
/* oklch */ color: oklch(63.8% 0.167 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19ef1',
    500: '#8a76e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e9;
$custom-light: #b19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e9",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 250.435,
    "s": 72.327,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63762,
    "c": 0.16712,
    "h": 288.7
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A76E9

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

Preview Lab → · Contrast checker → · Palette generator →

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