#766880#766880

#766880 is a mid, muted violet. Relative luminance 0.153; OKLCH L 53.9% C 0.040 H 311.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#766880
RGBrgb(118, 104, 128)
HSLhsl(275, 10%, 45%)
HSVhsv(275, 19%, 50%)
CMYKcmyk(7.8%, 18.8%, 0%, 49.8%)
CIE-LABlab(46.06, 10.40, -11.27)
CIE-LCHlch(46.06, 15.34, 312.71°)
OKLaboklab(53.9% 0.0266 -0.0304)
OKLCHoklch(53.9% 0.04 311.1)
XYZxyz(16.3172, 15.3108, 22.5136)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766880 #728068
analogous
#6A6880 #766880 #80687E
triadic
#766880 #807668 #688076
tetradic
#766880 #806A68 #728068 #687E80
square
#766880 #806A68 #728068 #687E80
split-complementary
#766880 #7E8068 #68806A
monochromatic
#38313C #574D5E #766880 #94879E #B3A9B9

Accessibility & contrast

On white

5.17
#766880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#766880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766880
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766880#FFFFFF#000000##FFFFFF
##7668801.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C81
Deuteranopia (green-blind)
#676D7F
Tritanopia (blue-blind)
#756B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766880;
/* rgb */ color: rgb(118, 104, 128);
/* oklch */ color: oklch(53.9% 0.040 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d93a4',
    500: '#766880',
    950: '#000000',
  },
}
SCSS
$custom: #766880;
$custom-light: #9d93a4;
$custom-dark: #000000;
JSON
{
  "hex": "#766880",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 128
  },
  "hsl": {
    "h": 275,
    "s": 10.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.0404,
    "h": 311.1
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#766880
secondary
#A1A99B
accent
#B3758F
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #766880

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

Preview Lab → · Contrast checker → · Palette generator →

#766880 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva