#766EF5#766EF5

#766EF5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.196 H 281.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#766EF5
RGBrgb(118, 110, 245)
HSLhsl(244, 87%, 70%)
HSVhsv(244, 55%, 96%)
CMYKcmyk(51.8%, 55.1%, 0%, 3.9%)
CIE-LABlab(53.59, 38.65, -67.00)
CIE-LCHlch(53.59, 77.34, 299.98°)
OKLaboklab(61.56% 0.0395 -0.1917)
OKLCHoklch(61.56% 0.196 281.6)
XYZxyz(29.5235, 21.5943, 88.9809)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EF5 #EDF56E
analogous
#6EA9F5 #766EF5 #BA6EF5
triadic
#766EF5 #F5766E #6EF576
tetradic
#766EF5 #F56EA9 #EDF56E #6EF5BA
square
#766EF5 #F56EA9 #EDF56E #6EF5BA
split-complementary
#766EF5 #F5BA6E #A9F56E
monochromatic
#1B0FDA #4035F1 #766EF5 #ACA7F9 #E2E1FD

Accessibility & contrast

On white

3.95
#766EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#766EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766EF5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EF5#FFFFFF#000000##000000
##766EF51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#418DA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766ef5;
/* rgb */ color: rgb(118, 110, 245);
/* oklch */ color: oklch(61.6% 0.196 281.6);
Tailwind
colors: {
  custom: {
    50: '#a698f9',
    500: '#766ef5',
    950: '#000000',
  },
}
SCSS
$custom: #766ef5;
$custom-light: #a698f9;
$custom-dark: #000000;
JSON
{
  "hex": "#766ef5",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 243.556,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.19569,
    "h": 281.6
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #766EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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