#766FF7#766FF7

#766FF7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.197 H 281.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#766FF7
RGBrgb(118, 111, 247)
HSLhsl(243, 89%, 70%)
HSVhsv(243, 55%, 97%)
CMYKcmyk(52.2%, 55.1%, 0%, 3.1%)
CIE-LABlab(53.96, 38.66, -67.52)
CIE-LCHlch(53.96, 77.81, 299.80°)
OKLaboklab(61.87% 0.0385 -0.1932)
OKLCHoklch(61.87% 0.197 281.3)
XYZxyz(29.9390, 21.9341, 90.6338)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FF7 #F0F76F
analogous
#6FACF7 #766FF7 #BA6FF7
triadic
#766FF7 #F7766F #6FF776
tetradic
#766FF7 #F76FAC #F0F76F #6FF7BA
square
#766FF7 #F76FAC #F0F76F #6FF7BA
split-complementary
#766FF7 #F7BA6F #ACF76F
monochromatic
#170CDF #3F35F4 #766FF7 #ADA9FA #E3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766FF7#FFFFFF#000000##000000
##766FF71.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)
#0E86FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#3F8EA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #766ff7;
/* rgb */ color: rgb(118, 111, 247);
/* oklch */ color: oklch(61.9% 0.197 281.3);
Tailwind
colors: {
  custom: {
    50: '#a798fb',
    500: '#766ff7',
    950: '#000000',
  },
}
SCSS
$custom: #766ff7;
$custom-light: #a798fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766ff7",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 243.088,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.19699,
    "h": 281.3
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#766FF7
secondary
#F2F4CE
accent
#E600DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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