#766CF7#766CF7

#766CF7 is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.4% C 0.201 H 281.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#766CF7
RGBrgb(118, 108, 247)
HSLhsl(244, 90%, 70%)
HSVhsv(244, 56%, 97%)
CMYKcmyk(52.2%, 56.3%, 0%, 3.1%)
CIE-LABlab(53.27, 40.42, -68.64)
CIE-LCHlch(53.27, 79.65, 300.49°)
OKLaboklab(61.36% 0.0416 -0.1965)
OKLCHoklch(61.36% 0.201 281.9)
XYZxyz(29.6171, 21.2904, 90.5265)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CF7 #EDF76C
analogous
#6CA7F7 #766CF7 #BC6CF7
triadic
#766CF7 #F7766C #6CF776
tetradic
#766CF7 #F76CA7 #EDF76C #6CF7BC
square
#766CF7 #F76CA7 #EDF76C #6CF7BC
split-complementary
#766CF7 #F7BC6C #A7F76C
monochromatic
#1B0CDD #4032F4 #766CF7 #ACA6FA #E2E0FD

Accessibility & contrast

On white

3.99
#766CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#766CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CF7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CF7#FFFFFF#000000##000000
##766CF71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#3F8CA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766cf7;
/* rgb */ color: rgb(118, 108, 247);
/* oklch */ color: oklch(61.4% 0.201 281.9);
Tailwind
colors: {
  custom: {
    50: '#a796fb',
    500: '#766cf7',
    950: '#000000',
  },
}
SCSS
$custom: #766cf7;
$custom-light: #a796fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766cf7",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 244.317,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6136,
    "c": 0.20085,
    "h": 281.9
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#766CF7
secondary
#F0F3CC
accent
#E600D5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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