#766DFD#766DFD

#766DFD is a mid, highly saturated blue. Relative luminance 0.219; OKLCH L 62.0% C 0.207 H 281.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#766DFD
RGBrgb(118, 109, 253)
HSLhsl(244, 97%, 71%)
HSVhsv(244, 57%, 99%)
CMYKcmyk(53.4%, 56.9%, 0%, 0.8%)
CIE-LABlab(53.90, 41.64, -70.94)
CIE-LCHlch(53.90, 82.26, 300.41°)
OKLaboklab(61.96% 0.0406 -0.2033)
OKLCHoklch(61.96% 0.207 281.3)
XYZxyz(30.6640, 21.8788, 95.5167)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DFD #F4FD6D
analogous
#6DACFD #766DFD #BE6DFD
triadic
#766DFD #FD766D #6DFD76
tetradic
#766DFD #FD6DAC #F4FD6D #6DFDBE
square
#766DFD #FD6DAC #F4FD6D #6DFDBE
split-complementary
#766DFD #FDBE6D #ACFD6D
monochromatic
#1203EC #3D31FC #766DFD #AFA9FE #E3E1FF

Accessibility & contrast

On white

3.91
#766DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#766DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DFD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DFD#FFFFFF#000000##000000
##766DFD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766dfd;
/* rgb */ color: rgb(118, 109, 253);
/* oklch */ color: oklch(62.0% 0.207 281.3);
Tailwind
colors: {
  custom: {
    50: '#a797ff',
    500: '#766dfd',
    950: '#000000',
  },
}
SCSS
$custom: #766dfd;
$custom-light: #a797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#766dfd",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 243.75,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.20728,
    "h": 281.3
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

primary
#766DFD
secondary
#F4F6D0
accent
#E600D7
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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