#8A76E7#8A76E7

#8A76E7 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.164 H 289.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A76E7
RGBrgb(138, 118, 231)
HSLhsl(251, 70%, 68%)
HSVhsv(251, 49%, 91%)
CMYKcmyk(40.3%, 48.9%, 0%, 9.4%)
CIE-LABlab(56.22, 34.29, -54.89)
CIE-LCHlch(56.22, 64.73, 302.00°)
OKLaboklab(63.64% 0.0535 -0.1555)
OKLCHoklch(63.64% 0.164 289)
XYZxyz(31.3795, 24.1287, 78.5898)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E7 #D3E776
analogous
#769AE7 #8A76E7 #C276E7
triadic
#8A76E7 #E78A76 #76E78A
tetradic
#8A76E7 #E7769A #D3E776 #76E7C2
square
#8A76E7 #E7769A #D3E776 #76E7C2
split-complementary
#8A76E7 #E7C276 #9AE776
monochromatic
#3E22C1 #5E42DE #8A76E7 #B6AAF0 #E3DEF9

Accessibility & contrast

On white

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

On black

5.83
#8A76E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E7#FFFFFF#000000##000000
##8A76E71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#708DA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76e7;
/* rgb */ color: rgb(138, 118, 231);
/* oklch */ color: oklch(63.6% 0.164 289.0);
Tailwind
colors: {
  custom: {
    50: '#b19eef',
    500: '#8a76e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e7;
$custom-light: #b19eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e7",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 250.619,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.16446,
    "h": 289
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#8A76E7
secondary
#E7EDCB
accent
#D213B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76E7

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

Preview Lab → · Contrast checker → · Palette generator →

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