#766EA7#766EA7

#766EA7 is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.9% C 0.087 H 289.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#766EA7
RGBrgb(118, 110, 167)
HSLhsl(248, 24%, 54%)
HSVhsv(248, 34%, 65%)
CMYKcmyk(29.3%, 34.1%, 0%, 34.5%)
CIE-LABlab(49.24, 16.27, -29.46)
CIE-LCHlch(49.24, 33.66, 298.91°)
OKLaboklab(56.87% 0.0295 -0.0819)
OKLCHoklch(56.87% 0.087 289.8)
XYZxyz(20.0204, 17.7930, 38.9313)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EA7 #9FA76E
analogous
#6E83A7 #766EA7 #936EA7
triadic
#766EA7 #A7766E #6EA776
tetradic
#766EA7 #A76E83 #9FA76E #6EA793
square
#766EA7 #A76E83 #9FA76E #6EA793
split-complementary
#766EA7 #A7936E #83A76E
monochromatic
#403A60 #595286 #766EA7 #9A94BE #BEBAD5

Accessibility & contrast

On white

4.61
#766EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#766EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #766EA7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EA7#FFFFFF#000000##FFFFFF
##766EA71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A9
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#6B7883
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #766ea7;
/* rgb */ color: rgb(118, 110, 167);
/* oklch */ color: oklch(56.9% 0.087 289.8);
Tailwind
colors: {
  custom: {
    50: '#9f97c1',
    500: '#766ea7',
    950: '#000000',
  },
}
SCSS
$custom: #766ea7;
$custom-light: #9f97c1;
$custom-dark: #000000;
JSON
{
  "hex": "#766ea7",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 248.421,
    "s": 24.464,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.08707,
    "h": 289.8
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#766EA7
secondary
#C1C4AC
accent
#C167B4
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #766EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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