#8A76B0#8A76B0

#8A76B0 is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.7% C 0.089 H 299.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A76B0
RGBrgb(138, 118, 176)
HSLhsl(261, 27%, 58%)
HSVhsv(261, 33%, 69%)
CMYKcmyk(21.6%, 33%, 0%, 31%)
CIE-LABlab(53.49, 19.97, -27.96)
CIE-LCHlch(53.49, 34.35, 305.54°)
OKLaboklab(60.68% 0.0439 -0.0773)
OKLCHoklch(60.68% 0.089 299.6)
XYZxyz(24.7944, 21.4946, 43.9085)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76B0 #9CB076
analogous
#767FB0 #8A76B0 #A776B0
triadic
#8A76B0 #B08A76 #76B08A
tetradic
#8A76B0 #B0767F #9CB076 #76B0A7
square
#8A76B0 #B0767F #9CB076 #76B0A7
split-complementary
#8A76B0 #B0A776 #7FB076
monochromatic
#4F3F6D #6B5594 #8A76B0 #AB9DC6 #CCC4DD

Accessibility & contrast

On white

3.96
#8A76B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A76B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76B0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76B0#FFFFFF#000000##000000
##8A76B01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B2
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#837F8B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a76b0;
/* rgb */ color: rgb(138, 118, 176);
/* oklch */ color: oklch(60.7% 0.089 299.6);
Tailwind
colors: {
  custom: {
    50: '#ad9dc7',
    500: '#8a76b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a76b0;
$custom-light: #ad9dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76b0",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 176
  },
  "hsl": {
    "h": 260.69,
    "s": 26.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.08886,
    "h": 299.6
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#8A76B0
secondary
#C5CDB5
accent
#C365A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A76B0

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

Preview Lab → · Contrast checker → · Palette generator →

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