#8A76B3#8A76B3

#8A76B3 is a mid, moderate violet. Relative luminance 0.216; OKLCH L 60.8% C 0.093 H 298.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A76B3
RGBrgb(138, 118, 179)
HSLhsl(260, 29%, 58%)
HSVhsv(260, 34%, 70%)
CMYKcmyk(22.9%, 34.1%, 0%, 29.8%)
CIE-LABlab(53.62, 20.69, -29.49)
CIE-LCHlch(53.62, 36.02, 305.06°)
OKLaboklab(60.83% 0.0447 -0.0816)
OKLCHoklch(60.83% 0.093 298.7)
XYZxyz(25.0945, 21.6147, 45.4891)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76B3 #9FB376
analogous
#7680B3 #8A76B3 #A876B3
triadic
#8A76B3 #B38A76 #76B38A
tetradic
#8A76B3 #B37680 #9FB376 #76B3A8
square
#8A76B3 #B37680 #9FB376 #76B3A8
split-complementary
#8A76B3 #B3A876 #80B376
monochromatic
#4F3E70 #6A5498 #8A76B3 #AC9DC9 #CDC5DF

Accessibility & contrast

On white

3.95
#8A76B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A76B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76B3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76B3#FFFFFF#000000##000000
##8A76B31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#82808C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a76b3;
/* rgb */ color: rgb(138, 118, 179);
/* oklch */ color: oklch(60.8% 0.093 298.7);
Tailwind
colors: {
  custom: {
    50: '#ad9dca',
    500: '#8a76b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a76b3;
$custom-light: #ad9dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76b3",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 179
  },
  "hsl": {
    "h": 259.672,
    "s": 28.638,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.09307,
    "h": 298.7
  },
  "luminance": 0.21615
}

Semantic roles & 50–950 ramp

primary
#8A76B3
secondary
#C7CFB6
accent
#C563A5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A76B3

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

Preview Lab → · Contrast checker → · Palette generator →

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