#766DF7#766DF7

#766DF7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.200 H 281.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#766DF7
RGBrgb(118, 109, 247)
HSLhsl(244, 90%, 70%)
HSVhsv(244, 56%, 97%)
CMYKcmyk(52.2%, 55.9%, 0%, 3.1%)
CIE-LABlab(53.50, 39.83, -68.27)
CIE-LCHlch(53.50, 79.04, 300.26°)
OKLaboklab(61.53% 0.0406 -0.1954)
OKLCHoklch(61.53% 0.2 281.7)
XYZxyz(29.7232, 21.5025, 90.5618)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DF7 #EEF76D
analogous
#6DA9F7 #766DF7 #BB6DF7
triadic
#766DF7 #F7766D #6DF776
tetradic
#766DF7 #F76DA9 #EEF76D #6DF7BB
square
#766DF7 #F76DA9 #EEF76D #6DF7BB
split-complementary
#766DF7 #F7BB6D #A9F76D
monochromatic
#1A0CDD #4033F4 #766DF7 #ACA7FA #E3E1FD

Accessibility & contrast

On white

3.96
#766DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#766DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DF7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DF7#FFFFFF#000000##000000
##766DF71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#3F8DA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766df7;
/* rgb */ color: rgb(118, 109, 247);
/* oklch */ color: oklch(61.5% 0.200 281.7);
Tailwind
colors: {
  custom: {
    50: '#a797fb',
    500: '#766df7',
    950: '#000000',
  },
}
SCSS
$custom: #766df7;
$custom-light: #a797fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766df7",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 243.913,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.19957,
    "h": 281.7
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#766DF7
secondary
#F1F3CC
accent
#E600D7
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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