#766CFE#766CFE

#766CFE is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.210 H 281.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#766CFE
RGBrgb(118, 108, 254)
HSLhsl(244, 99%, 71%)
HSVhsv(244, 57%, 100%)
CMYKcmyk(53.5%, 57.5%, 0%, 0.4%)
CIE-LABlab(53.74, 42.52, -71.75)
CIE-LCHlch(53.74, 83.41, 300.65°)
OKLaboklab(61.86% 0.0415 -0.2057)
OKLCHoklch(61.86% 0.21 281.4)
XYZxyz(30.7176, 21.7306, 96.3225)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CFE #F4FE6C
analogous
#6CABFE #766CFE #BF6CFE
triadic
#766CFE #FE766C #6CFE76
tetradic
#766CFE #FE6CAB #F4FE6C #6CFEBF
square
#766CFE #FE6CAB #F4FE6C #6CFEBF
split-complementary
#766CFE #FEBF6C #ABFE6C
monochromatic
#1202EE #3D2FFE #766CFE #AFA9FE #E3E1FF

Accessibility & contrast

On white

3.93
#766CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#766CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CFE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CFE#FFFFFF#000000##000000
##766CFE1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#378EAB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766cfe;
/* rgb */ color: rgb(118, 108, 254);
/* oklch */ color: oklch(61.9% 0.210 281.4);
Tailwind
colors: {
  custom: {
    50: '#a896ff',
    500: '#766cfe',
    950: '#000000',
  },
}
SCSS
$custom: #766cfe;
$custom-light: #a896ff;
$custom-dark: #000000;
JSON
{
  "hex": "#766cfe",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 244.11,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.20981,
    "h": 281.4
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#766CFE
secondary
#F4F6CF
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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