#8A76DA#8A76DA

#8A76DA is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.9% C 0.147 H 290.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A76DA
RGBrgb(138, 118, 218)
HSLhsl(252, 57%, 66%)
HSVhsv(252, 46%, 85%)
CMYKcmyk(36.7%, 45.9%, 0%, 14.5%)
CIE-LABlab(55.50, 30.75, -48.74)
CIE-LCHlch(55.50, 57.63, 302.25°)
OKLaboklab(62.88% 0.0521 -0.1375)
OKLCHoklch(62.88% 0.147 290.7)
XYZxyz(29.6112, 23.4213, 69.2767)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76DA #C6DA76
analogous
#7694DA #8A76DA #BC76DA
triadic
#8A76DA #DA8A76 #76DA8A
tetradic
#8A76DA #DA7694 #C6DA76 #76DABC
square
#8A76DA #DA7694 #C6DA76 #76DABC
split-complementary
#8A76DA #DABC76 #94DA76
monochromatic
#462DA8 #6146CD #8A76DA #B3A6E7 #DCD6F4

Accessibility & contrast

On white

3.69
#8A76DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A76DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76DA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76DA#FFFFFF#000000##000000
##8A76DA1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#768A9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a76da;
/* rgb */ color: rgb(138, 118, 218);
/* oklch */ color: oklch(62.9% 0.147 290.7);
Tailwind
colors: {
  custom: {
    50: '#af9de6',
    500: '#8a76da',
    950: '#000000',
  },
}
SCSS
$custom: #8a76da;
$custom-light: #af9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76da",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 252,
    "s": 57.471,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.14701,
    "h": 290.7
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#8A76DA
secondary
#E0E6C5
accent
#C520A4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76DA

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

Preview Lab → · Contrast checker → · Palette generator →

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