#766682#766682

#766682 is a mid, muted violet. Relative luminance 0.150; OKLCH L 53.6% C 0.047 H 310.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#766682
RGBrgb(118, 102, 130)
HSLhsl(274, 12%, 45%)
HSVhsv(274, 22%, 51%)
CMYKcmyk(9.2%, 21.5%, 0%, 49%)
CIE-LABlab(45.59, 12.05, -13.18)
CIE-LCHlch(45.59, 17.86, 312.44°)
OKLaboklab(53.56% 0.0305 -0.0357)
OKLCHoklch(53.56% 0.047 310.5)
XYZxyz(16.2512, 14.9661, 23.1474)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766682 #728266
analogous
#686682 #766682 #826680
triadic
#766682 #827666 #668276
tetradic
#766682 #826866 #728266 #668082
square
#766682 #826866 #728266 #668082
split-complementary
#766682 #808266 #668268
monochromatic
#38303D #574B60 #766682 #9486A0 #B3A8BB

Accessibility & contrast

On white

5.26
#766682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#766682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766682
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766682#FFFFFF#000000##FFFFFF
##7666821.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626B83
Deuteranopia (green-blind)
#656C81
Tritanopia (blue-blind)
#756970
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766682;
/* rgb */ color: rgb(118, 102, 130);
/* oklch */ color: oklch(53.6% 0.047 310.5);
Tailwind
colors: {
  custom: {
    50: '#9d91a6',
    500: '#766682',
    950: '#000000',
  },
}
SCSS
$custom: #766682;
$custom-light: #9d91a6;
$custom-dark: #000000;
JSON
{
  "hex": "#766682",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 130
  },
  "hsl": {
    "h": 274.286,
    "s": 12.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.04698,
    "h": 310.5
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#766682
secondary
#A1AA9A
accent
#B5738F
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #766682

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

Preview Lab → · Contrast checker → · Palette generator →

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