#766B99#766B99

#766B99 is a mid, moderate violet. Relative luminance 0.167; OKLCH L 55.6% C 0.071 H 295.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#766B99
RGBrgb(118, 107, 153)
HSLhsl(254, 18%, 51%)
HSVhsv(254, 30%, 60%)
CMYKcmyk(22.9%, 30.1%, 0%, 40%)
CIE-LABlab(47.84, 14.49, -23.42)
CIE-LCHlch(47.84, 27.54, 301.74°)
OKLaboklab(55.59% 0.0301 -0.0646)
OKLCHoklch(55.59% 0.071 295)
XYZxyz(18.4774, 16.6667, 32.3743)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B99 #8E996B
analogous
#6B7799 #766B99 #8D6B99
triadic
#766B99 #99766B #6B9976
tetradic
#766B99 #996B77 #8E996B #6B998D
square
#766B99 #996B77 #8E996B #6B998D
split-complementary
#766B99 #998D6B #77996B
monochromatic
#3E3851 #5A5176 #766B99 #988FB2 #B9B3CB

Accessibility & contrast

On white

4.85
#766B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#766B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766B99
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766B99#FFFFFF#000000##FFFFFF
##766B991.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#6F727B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #766b99;
/* rgb */ color: rgb(118, 107, 153);
/* oklch */ color: oklch(55.6% 0.071 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e95b7',
    500: '#766b99',
    950: '#000000',
  },
}
SCSS
$custom: #766b99;
$custom-light: #9e95b7;
$custom-dark: #000000;
JSON
{
  "hex": "#766b99",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 153
  },
  "hsl": {
    "h": 254.348,
    "s": 18.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.07128,
    "h": 295
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#766B99
secondary
#B5BAA6
accent
#BB6DA8
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #766B99

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

Preview Lab → · Contrast checker → · Palette generator →

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