#8A76CE#8A76CE

#8A76CE is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.2% C 0.131 H 292.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A76CE
RGBrgb(138, 118, 206)
HSLhsl(254, 47%, 64%)
HSVhsv(254, 43%, 81%)
CMYKcmyk(33%, 42.7%, 0%, 19.2%)
CIE-LABlab(54.88, 27.55, -42.94)
CIE-LCHlch(54.88, 51.02, 302.69°)
OKLaboklab(62.2% 0.0503 -0.1206)
OKLCHoklch(62.2% 0.131 292.6)
XYZxyz(28.0974, 22.8158, 61.3041)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76CE #BACE76
analogous
#768ECE #8A76CE #B676CE
triadic
#8A76CE #CE8A76 #76CE8A
tetradic
#8A76CE #CE768E #BACE76 #76CEB6
square
#8A76CE #CE768E #BACE76 #76CEB6
split-complementary
#8A76CE #CEB676 #8ECE76
monochromatic
#4B3594 #6449BE #8A76CE #B0A3DE #D7D0EE

Accessibility & contrast

On white

3.77
#8A76CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76CE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76CE#FFFFFF#000000##000000
##8A76CE1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D1
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#7A8698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a76ce;
/* rgb */ color: rgb(138, 118, 206);
/* oklch */ color: oklch(62.2% 0.131 292.6);
Tailwind
colors: {
  custom: {
    50: '#af9ddd',
    500: '#8a76ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ce;
$custom-light: #af9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ce",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 253.636,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.13063,
    "h": 292.6
  },
  "luminance": 0.22816
}

Semantic roles & 50–950 ramp

primary
#8A76CE
secondary
#D8DFC0
accent
#BB2B9A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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