#766274#766274

#766274 is a mid, muted purple. Relative luminance 0.138; OKLCH L 52.2% C 0.037 H 329.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#766274
RGBrgb(118, 98, 116)
HSLhsl(306, 9%, 42%)
HSVhsv(306, 17%, 46%)
CMYKcmyk(0%, 16.9%, 1.7%, 53.7%)
CIE-LABlab(44.01, 11.46, -7.11)
CIE-LCHlch(44.01, 13.49, 328.21°)
OKLaboklab(52.18% 0.032 -0.0189)
OKLCHoklch(52.18% 0.037 329.4)
XYZxyz(14.9909, 13.8482, 18.4029)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766274 #627664
analogous
#6E6276 #766274 #76626A
triadic
#766274 #747662 #627476
tetradic
#766274 #766E62 #627664 #626A76
square
#766274 #766E62 #627664 #626A76
split-complementary
#766274 #6A7662 #62766E
monochromatic
#332A32 #554653 #766274 #958093 #B1A1B0

Accessibility & contrast

On white

5.57
#766274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#766274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766274
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766274#FFFFFF#000000##FFFFFF
##7662741.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616675
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#786368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766274;
/* rgb */ color: rgb(118, 98, 116);
/* oklch */ color: oklch(52.2% 0.037 329.4);
Tailwind
colors: {
  custom: {
    50: '#9d8e9c',
    500: '#766274',
    950: '#000000',
  },
}
SCSS
$custom: #766274;
$custom-light: #9d8e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#766274",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 116
  },
  "hsl": {
    "h": 306,
    "s": 9.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.03716,
    "h": 329.4
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#766274
secondary
#93A095
accent
#B27C76
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #766274

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

Preview Lab → · Contrast checker → · Palette generator →

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