#8A76C8#8A76C8

#8A76C8 is a mid, vivid violet. Relative luminance 0.225; OKLCH L 61.9% C 0.122 H 293.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A76C8
RGBrgb(138, 118, 200)
HSLhsl(255, 43%, 62%)
HSVhsv(255, 41%, 78%)
CMYKcmyk(31%, 41%, 0%, 21.6%)
CIE-LABlab(54.58, 25.98, -40.00)
CIE-LCHlch(54.58, 47.70, 303.01°)
OKLaboklab(61.88% 0.0492 -0.112)
OKLCHoklch(61.88% 0.122 293.7)
XYZxyz(27.3824, 22.5298, 57.5384)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76C8 #B4C876
analogous
#768BC8 #8A76C8 #B376C8
triadic
#8A76C8 #C88A76 #76C88A
tetradic
#8A76C8 #C8768B #B4C876 #76C8B3
square
#8A76C8 #C8768B #B4C876 #76C8B3
split-complementary
#8A76C8 #C8B376 #8BC876
monochromatic
#4C388C #654AB6 #8A76C8 #AFA2DA #D5CDEB

Accessibility & contrast

On white

3.81
#8A76C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A76C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76C8#FFFFFF#000000##000000
##8A76C81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#7C8595
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a76c8;
/* rgb */ color: rgb(138, 118, 200);
/* oklch */ color: oklch(61.9% 0.122 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae9dd9',
    500: '#8a76c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a76c8;
$custom-light: #ae9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76c8",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 254.634,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.12236,
    "h": 293.7
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#8A76C8
secondary
#D5DCBE
accent
#B63095
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A76C8

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

Preview Lab → · Contrast checker → · Palette generator →

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