#766882#766882

#766882 is a mid, muted violet. Relative luminance 0.154; OKLCH L 54.0% C 0.043 H 309.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#766882
RGBrgb(118, 104, 130)
HSLhsl(272, 11%, 46%)
HSVhsv(272, 20%, 51%)
CMYKcmyk(9.2%, 20%, 0%, 49%)
CIE-LABlab(46.13, 10.85, -12.36)
CIE-LCHlch(46.13, 16.44, 311.27°)
OKLaboklab(53.97% 0.0273 -0.0334)
OKLCHoklch(53.97% 0.043 309.2)
XYZxyz(16.4501, 15.3640, 23.2137)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766882 #748268
analogous
#696882 #766882 #826881
triadic
#766882 #827668 #688276
tetradic
#766882 #826968 #748268 #688182
square
#766882 #826968 #748268 #688182
split-complementary
#766882 #818268 #688269
monochromatic
#38323E #574D60 #766882 #9588A0 #B3AABB

Accessibility & contrast

On white

5.16
#766882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#766882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766882
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766882#FFFFFF#000000##FFFFFF
##7668821.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#676D81
Tritanopia (blue-blind)
#756B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766882;
/* rgb */ color: rgb(118, 104, 130);
/* oklch */ color: oklch(54.0% 0.043 309.2);
Tailwind
colors: {
  custom: {
    50: '#9d93a6',
    500: '#766882',
    950: '#000000',
  },
}
SCSS
$custom: #766882;
$custom-light: #9d93a6;
$custom-dark: #000000;
JSON
{
  "hex": "#766882",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 130
  },
  "hsl": {
    "h": 272.308,
    "s": 11.111,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.04317,
    "h": 309.2
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#766882
secondary
#A2AA9C
accent
#B47491
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #766882

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

Preview Lab → · Contrast checker → · Palette generator →

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