#8A76CA#8A76CA

#8A76CA is a mid, vivid violet. Relative luminance 0.226; OKLCH L 62.0% C 0.125 H 293.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A76CA
RGBrgb(138, 118, 202)
HSLhsl(254, 44%, 63%)
HSVhsv(254, 42%, 79%)
CMYKcmyk(31.7%, 41.6%, 0%, 20.8%)
CIE-LABlab(54.68, 26.50, -40.98)
CIE-LCHlch(54.68, 48.80, 302.89°)
OKLaboklab(61.99% 0.0496 -0.1149)
OKLCHoklch(61.99% 0.125 293.4)
XYZxyz(27.6176, 22.6239, 58.7775)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76CA #B6CA76
analogous
#768CCA #8A76CA #B476CA
triadic
#8A76CA #CA8A76 #76CA8A
tetradic
#8A76CA #CA768C #B6CA76 #76CAB4
square
#8A76CA #CA768C #B6CA76 #76CAB4
split-complementary
#8A76CA #CAB476 #8CCA76
monochromatic
#4C378E #644AB9 #8A76CA #B0A2DB #D5CEEC

Accessibility & contrast

On white

3.80
#8A76CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76CA#FFFFFF#000000##000000
##8A76CA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#7B8596
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a76ca;
/* rgb */ color: rgb(138, 118, 202);
/* oklch */ color: oklch(62.0% 0.125 293.4);
Tailwind
colors: {
  custom: {
    50: '#ae9dda',
    500: '#8a76ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ca;
$custom-light: #ae9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ca",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 254.286,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.12513,
    "h": 293.4
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#8A76CA
secondary
#D6DDBF
accent
#B72E97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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