#8A76E5#8A76E5

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

Color values

HEX#8A76E5
RGBrgb(138, 118, 229)
HSLhsl(251, 68%, 68%)
HSVhsv(251, 48%, 90%)
CMYKcmyk(39.7%, 48.5%, 0%, 10.2%)
CIE-LABlab(56.10, 33.74, -53.95)
CIE-LCHlch(56.10, 63.64, 302.02°)
OKLaboklab(63.52% 0.0533 -0.1528)
OKLCHoklch(63.52% 0.162 289.2)
XYZxyz(31.0986, 24.0163, 77.1106)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E5 #D1E576
analogous
#7699E5 #8A76E5 #C176E5
triadic
#8A76E5 #E58A76 #76E58A
tetradic
#8A76E5 #E57699 #D1E576 #76E5C1
square
#8A76E5 #E57699 #D1E576 #76E5C1
split-complementary
#8A76E5 #E5C176 #99E576
monochromatic
#3F24BD #5E43DB #8A76E5 #B6A9EF #E2DDF9

Accessibility & contrast

On white

3.62
#8A76E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A76E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E5#FFFFFF#000000##000000
##8A76E51.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#4B84E2
Tritanopia (blue-blind)
#718DA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a76e5;
/* rgb */ color: rgb(138, 118, 229);
/* oklch */ color: oklch(63.5% 0.162 289.2);
Tailwind
colors: {
  custom: {
    50: '#b09eee',
    500: '#8a76e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e5;
$custom-light: #b09eee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e5",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 250.811,
    "s": 68.098,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63521,
    "c": 0.1618,
    "h": 289.2
  },
  "luminance": 0.24017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A76E5

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

Preview Lab → · Contrast checker → · Palette generator →

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