#766CDE#766CDE

#766CDE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.7% C 0.168 H 284.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#766CDE
RGBrgb(118, 108, 222)
HSLhsl(245, 63%, 65%)
HSVhsv(245, 51%, 87%)
CMYKcmyk(46.8%, 51.4%, 0%, 12.9%)
CIE-LABlab(51.67, 32.97, -57.22)
CIE-LCHlch(51.67, 66.03, 299.95°)
OKLaboklab(59.66% 0.0408 -0.1629)
OKLCHoklch(59.66% 0.168 284)
XYZxyz(26.0147, 19.8494, 71.5536)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CDE #D4DE6C
analogous
#6C9BDE #766CDE #AF6CDE
triadic
#766CDE #DE766C #6CDE76
tetradic
#766CDE #DE6C9B #D4DE6C #6CDEAF
square
#766CDE #DE6C9B #D4DE6C #6CDEAF
split-complementary
#766CDE #DEAF6C #9BDE6C
monochromatic
#3226AA #473AD3 #766CDE #A59EE9 #D3D0F4

Accessibility & contrast

On white

4.23
#766CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#766CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CDE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CDE#FFFFFF#000000##000000
##766CDE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE2
Deuteranopia (green-blind)
#3078DB
Tritanopia (blue-blind)
#52859B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766cde;
/* rgb */ color: rgb(118, 108, 222);
/* oklch */ color: oklch(59.7% 0.168 284.0);
Tailwind
colors: {
  custom: {
    50: '#a496e9',
    500: '#766cde',
    950: '#000000',
  },
}
SCSS
$custom: #766cde;
$custom-light: #a496e9;
$custom-dark: #000000;
JSON
{
  "hex": "#766cde",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 245.263,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.16792,
    "h": 284
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#766CDE
secondary
#E3E6BF
accent
#CB1ABC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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