#766EFE#766EFE

#766EFE is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.2% C 0.207 H 281.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#766EFE
RGBrgb(118, 110, 254)
HSLhsl(243, 99%, 71%)
HSVhsv(243, 57%, 100%)
CMYKcmyk(53.5%, 56.7%, 0%, 0.4%)
CIE-LABlab(54.19, 41.36, -71.02)
CIE-LCHlch(54.19, 82.18, 300.22°)
OKLaboklab(62.2% 0.0396 -0.2035)
OKLCHoklch(62.2% 0.207 281)
XYZxyz(30.9310, 22.1573, 96.3936)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EFE #F6FE6E
analogous
#6EAEFE #766EFE #BE6EFE
triadic
#766EFE #FE766E #6EFE76
tetradic
#766EFE #FE6EAE #F6FE6E #6EFEBE
square
#766EFE #FE6EAE #F6FE6E #6EFEBE
split-complementary
#766EFE #FEBE6E #AEFE6E
monochromatic
#0F02F0 #3D31FE #766EFE #AFABFE #E2E1FF

Accessibility & contrast

On white

3.87
#766EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#766EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766EFE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EFE#FFFFFF#000000##000000
##766EFE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#3790AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #766efe;
/* rgb */ color: rgb(118, 110, 254);
/* oklch */ color: oklch(62.2% 0.207 281.0);
Tailwind
colors: {
  custom: {
    50: '#a798ff',
    500: '#766efe',
    950: '#000000',
  },
}
SCSS
$custom: #766efe;
$custom-light: #a798ff;
$custom-dark: #000000;
JSON
{
  "hex": "#766efe",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 243.333,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.20729,
    "h": 281
  },
  "luminance": 0.22159
}

Semantic roles & 50–950 ramp

primary
#766EFE
secondary
#F5F7D1
accent
#E600D9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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