#8A76D8#8A76D8

#8A76D8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.8% C 0.144 H 291.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A76D8
RGBrgb(138, 118, 216)
HSLhsl(252, 56%, 65%)
HSVhsv(252, 45%, 85%)
CMYKcmyk(36.1%, 45.4%, 0%, 15.3%)
CIE-LABlab(55.40, 30.21, -47.78)
CIE-LCHlch(55.40, 56.53, 302.31°)
OKLaboklab(62.76% 0.0518 -0.1347)
OKLCHoklch(62.76% 0.144 291)
XYZxyz(29.3510, 23.3173, 67.9067)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76D8 #C4D876
analogous
#7693D8 #8A76D8 #BB76D8
triadic
#8A76D8 #D88A76 #76D88A
tetradic
#8A76D8 #D87693 #C4D876 #76D8BB
square
#8A76D8 #D87693 #C4D876 #76D8BB
split-complementary
#8A76D8 #D8BB76 #93D876
monochromatic
#472FA5 #6146CA #8A76D8 #B3A6E6 #DBD5F3

Accessibility & contrast

On white

3.71
#8A76D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A76D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76D8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76D8#FFFFFF#000000##000000
##8A76D81.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DC
Deuteranopia (green-blind)
#5683D6
Tritanopia (blue-blind)
#76899D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a76d8;
/* rgb */ color: rgb(138, 118, 216);
/* oklch */ color: oklch(62.8% 0.144 291.0);
Tailwind
colors: {
  custom: {
    50: '#af9de4',
    500: '#8a76d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a76d8;
$custom-light: #af9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76d8",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 252.245,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.1443,
    "h": 291
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#8A76D8
secondary
#DFE5C4
accent
#C322A2
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76D8

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

Preview Lab → · Contrast checker → · Palette generator →

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