#766DFE#766DFE

#766DFE is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.0% C 0.209 H 281.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#766DFE
RGBrgb(118, 109, 254)
HSLhsl(244, 99%, 71%)
HSVhsv(244, 57%, 100%)
CMYKcmyk(53.5%, 57.1%, 0%, 0.4%)
CIE-LABlab(53.97, 41.94, -71.39)
CIE-LCHlch(53.97, 82.79, 300.44°)
OKLaboklab(62.03% 0.0406 -0.2046)
OKLCHoklch(62.03% 0.209 281.2)
XYZxyz(30.8237, 21.9427, 96.3579)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DFE #F5FE6D
analogous
#6DACFE #766DFE #BE6DFE
triadic
#766DFE #FE766D #6DFE76
tetradic
#766DFE #FE6DAC #F5FE6D #6DFEBE
square
#766DFE #FE6DAC #F5FE6D #6DFEBE
split-complementary
#766DFE #FEBE6D #ACFE6D
monochromatic
#1002EF #3D30FE #766DFE #AFAAFE #E2E1FF

Accessibility & contrast

On white

3.90
#766DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#766DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DFE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DFE#FFFFFF#000000##000000
##766DFE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#378FAB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #766dfe;
/* rgb */ color: rgb(118, 109, 254);
/* oklch */ color: oklch(62.0% 0.209 281.2);
Tailwind
colors: {
  custom: {
    50: '#a897ff',
    500: '#766dfe',
    950: '#000000',
  },
}
SCSS
$custom: #766dfe;
$custom-light: #a897ff;
$custom-dark: #000000;
JSON
{
  "hex": "#766dfe",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 243.724,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62028,
    "c": 0.20855,
    "h": 281.2
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#766DFE
secondary
#F4F6D0
accent
#E600D7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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