#766EF8#766EF8

#766EF8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.200 H 281.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#766EF8
RGBrgb(118, 110, 248)
HSLhsl(243, 91%, 70%)
HSVhsv(243, 56%, 97%)
CMYKcmyk(52.4%, 55.6%, 0%, 2.7%)
CIE-LABlab(53.79, 39.55, -68.34)
CIE-LCHlch(53.79, 78.96, 300.06°)
OKLaboklab(61.77% 0.0396 -0.1956)
OKLCHoklch(61.77% 0.2 281.4)
XYZxyz(29.9852, 21.7790, 91.4125)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EF8 #F0F86E
analogous
#6EABF8 #766EF8 #BB6EF8
triadic
#766EF8 #F8766E #6EF876
tetradic
#766EF8 #F86EAB #F0F86E #6EF8BB
square
#766EF8 #F86EAB #F0F86E #6EF8BB
split-complementary
#766EF8 #F8BB6E #ABF86E
monochromatic
#170BE1 #3F34F5 #766EF8 #ADA8FB #E3E2FE

Accessibility & contrast

On white

3.92
#766EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#766EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766EF8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EF8#FFFFFF#000000##000000
##766EF81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#3E8EA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #766ef8;
/* rgb */ color: rgb(118, 110, 248);
/* oklch */ color: oklch(61.8% 0.200 281.4);
Tailwind
colors: {
  custom: {
    50: '#a798fb',
    500: '#766ef8',
    950: '#000000',
  },
}
SCSS
$custom: #766ef8;
$custom-light: #a798fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766ef8",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 243.478,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.19958,
    "h": 281.4
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#766EF8
secondary
#F2F4CE
accent
#E600D8
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #766EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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