#8A76DC#8A76DC

#8A76DC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.0% C 0.150 H 290.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A76DC
RGBrgb(138, 118, 220)
HSLhsl(252, 59%, 66%)
HSVhsv(252, 46%, 86%)
CMYKcmyk(37.3%, 46.4%, 0%, 13.7%)
CIE-LABlab(55.61, 31.29, -49.69)
CIE-LCHlch(55.61, 58.72, 302.20°)
OKLaboklab(62.99% 0.0523 -0.1403)
OKLCHoklch(62.99% 0.15 290.5)
XYZxyz(29.8745, 23.5266, 70.6634)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76DC #C8DC76
analogous
#7695DC #8A76DC #BD76DC
triadic
#8A76DC #DC8A76 #76DC8A
tetradic
#8A76DC #DC7695 #C8DC76 #76DCBD
square
#8A76DC #DC7695 #C8DC76 #76DCBD
split-complementary
#8A76DC #DCBD76 #95DC76
monochromatic
#452CAC #6045D0 #8A76DC #B4A7E8 #DDD7F5

Accessibility & contrast

On white

3.68
#8A76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76DC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76DC#FFFFFF#000000##000000
##8A76DC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#5383DA
Tritanopia (blue-blind)
#758A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a76dc;
/* rgb */ color: rgb(138, 118, 220);
/* oklch */ color: oklch(63.0% 0.150 290.5);
Tailwind
colors: {
  custom: {
    50: '#b09de7',
    500: '#8a76dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a76dc;
$custom-light: #b09de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76dc",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 251.765,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6299,
    "c": 0.14972,
    "h": 290.5
  },
  "luminance": 0.23527
}

Semantic roles & 50–950 ramp

primary
#8A76DC
secondary
#E1E8C6
accent
#C71FA6
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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