#8A76EB#8A76EB

#8A76EB is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.170 H 288.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A76EB
RGBrgb(138, 118, 235)
HSLhsl(250, 75%, 69%)
HSVhsv(250, 50%, 92%)
CMYKcmyk(41.3%, 49.8%, 0%, 7.8%)
CIE-LABlab(56.44, 35.40, -56.76)
CIE-LCHlch(56.44, 66.90, 301.95°)
OKLaboklab(63.89% 0.0539 -0.161)
OKLCHoklch(63.89% 0.17 288.5)
XYZxyz(31.9509, 24.3572, 81.5991)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76EB #D7EB76
analogous
#769DEB #8A76EB #C476EB
triadic
#8A76EB #EB8A76 #76EB8A
tetradic
#8A76EB #EB769D #D7EB76 #76EBC4
square
#8A76EB #EB769D #D7EB76 #76EBC4
split-complementary
#8A76EB #EBC476 #9DEB76
monochromatic
#3B1DC9 #5C41E3 #8A76EB #B8ABF3 #E5E1FB

Accessibility & contrast

On white

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

On black

5.87
#8A76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76EB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76EB#FFFFFF#000000##000000
##8A76EB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#6E8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a76eb;
/* rgb */ color: rgb(138, 118, 235);
/* oklch */ color: oklch(63.9% 0.170 288.5);
Tailwind
colors: {
  custom: {
    50: '#b19ef2',
    500: '#8a76eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a76eb;
$custom-light: #b19ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76eb",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 250.256,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63885,
    "c": 0.16977,
    "h": 288.5
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#8A76EB
secondary
#EAEFCD
accent
#D70FB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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