#766C8A#766C8A

#766C8A is a mid, muted violet. Relative luminance 0.164; OKLCH L 55.1% C 0.047 H 300.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#766C8A
RGBrgb(118, 108, 138)
HSLhsl(260, 12%, 48%)
HSVhsv(260, 22%, 54%)
CMYKcmyk(14.5%, 21.7%, 0%, 45.9%)
CIE-LABlab(47.51, 10.27, -15.04)
CIE-LCHlch(47.51, 18.21, 304.32°)
OKLaboklab(55.14% 0.0237 -0.0409)
OKLCHoklch(55.14% 0.047 300.1)
XYZxyz(17.4203, 16.4116, 26.2898)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C8A #808A6C
analogous
#6C718A #766C8A #856C8A
triadic
#766C8A #8A766C #6C8A76
tetradic
#766C8A #8A6C71 #808A6C #6C8A85
square
#766C8A #8A6C71 #808A6C #6C8A85
split-complementary
#766C8A #8A856C #718A6C
monochromatic
#3B3645 #595168 #766C8A #958DA6 #B5B0C1

Accessibility & contrast

On white

4.90
#766C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#766C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766C8A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766C8A#FFFFFF#000000##FFFFFF
##766C8A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66718B
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#737076
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #766c8a;
/* rgb */ color: rgb(118, 108, 138);
/* oklch */ color: oklch(55.1% 0.047 300.1);
Tailwind
colors: {
  custom: {
    50: '#9d96ac',
    500: '#766c8a',
    950: '#000000',
  },
}
SCSS
$custom: #766c8a;
$custom-light: #9d96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#766c8a",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 260,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.04733,
    "h": 300.1
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#766C8A
secondary
#ABB0A2
accent
#B5739F
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #766C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#766C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva