#766A8A#766A8A

#766A8A is a mid, muted violet. Relative luminance 0.160; OKLCH L 54.7% C 0.051 H 301.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#766A8A
RGBrgb(118, 106, 138)
HSLhsl(263, 13%, 48%)
HSVhsv(263, 23%, 54%)
CMYKcmyk(14.5%, 23.2%, 0%, 45.9%)
CIE-LABlab(46.97, 11.47, -15.86)
CIE-LCHlch(46.97, 19.57, 305.86°)
OKLaboklab(54.72% 0.0269 -0.0432)
OKLCHoklch(54.72% 0.051 301.9)
XYZxyz(17.2118, 15.9946, 26.2203)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A8A #7E8A6A
analogous
#6A6E8A #766A8A #866A8A
triadic
#766A8A #8A766A #6A8A76
tetradic
#766A8A #8A6A6E #7E8A6A #6A8A86
square
#766A8A #8A6A6E #7E8A6A #6A8A86
split-complementary
#766A8A #8A866A #6E8A6A
monochromatic
#3B3545 #584F67 #766A8A #958BA6 #B5AEC1

Accessibility & contrast

On white

5.00
#766A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#766A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A8A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A8A#FFFFFF#000000##FFFFFF
##766A8A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#666F89
Tritanopia (blue-blind)
#736F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #766a8a;
/* rgb */ color: rgb(118, 106, 138);
/* oklch */ color: oklch(54.7% 0.051 301.9);
Tailwind
colors: {
  custom: {
    50: '#9d94ac',
    500: '#766a8a',
    950: '#000000',
  },
}
SCSS
$custom: #766a8a;
$custom-light: #9d94ac;
$custom-dark: #000000;
JSON
{
  "hex": "#766a8a",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 262.5,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.05092,
    "h": 301.9
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#766A8A
secondary
#AAB0A0
accent
#B6729C
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #766A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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