#8A76E4#8A76E4

#8A76E4 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.5% C 0.160 H 289.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A76E4
RGBrgb(138, 118, 228)
HSLhsl(251, 67%, 68%)
HSVhsv(251, 48%, 89%)
CMYKcmyk(39.5%, 48.2%, 0%, 10.6%)
CIE-LABlab(56.05, 33.47, -53.48)
CIE-LCHlch(56.05, 63.09, 302.04°)
OKLaboklab(63.46% 0.0532 -0.1514)
OKLCHoklch(63.46% 0.16 289.4)
XYZxyz(30.9594, 23.9606, 76.3774)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E4 #D0E476
analogous
#7699E4 #8A76E4 #C176E4
triadic
#8A76E4 #E48A76 #76E48A
tetradic
#8A76E4 #E47699 #D0E476 #76E4C1
square
#8A76E4 #E47699 #D0E476 #76E4C1
split-complementary
#8A76E4 #E4C176 #99E476
monochromatic
#4025BB #5E43DA #8A76E4 #B6A9EE #E1DCF8

Accessibility & contrast

On white

3.63
#8A76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A76E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E4#FFFFFF#000000##000000
##8A76E41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#4C84E1
Tritanopia (blue-blind)
#718CA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a76e4;
/* rgb */ color: rgb(138, 118, 228);
/* oklch */ color: oklch(63.5% 0.160 289.4);
Tailwind
colors: {
  custom: {
    50: '#b09eed',
    500: '#8a76e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e4;
$custom-light: #b09eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e4",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 250.909,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.16047,
    "h": 289.4
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#8A76E4
secondary
#E6ECCA
accent
#CF17AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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