#766FF8#766FF8

#766FF8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.198 H 281.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#766FF8
RGBrgb(118, 111, 248)
HSLhsl(243, 91%, 70%)
HSVhsv(243, 55%, 97%)
CMYKcmyk(52.4%, 55.2%, 0%, 2.7%)
CIE-LABlab(54.02, 38.96, -67.97)
CIE-LCHlch(54.02, 78.35, 299.82°)
OKLaboklab(61.94% 0.0385 -0.1945)
OKLCHoklch(61.94% 0.198 281.2)
XYZxyz(30.0937, 21.9960, 91.4486)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FF8 #F1F86F
analogous
#6FACF8 #766FF8 #BB6FF8
triadic
#766FF8 #F8766F #6FF876
tetradic
#766FF8 #F86FAC #F1F86F #6FF8BB
square
#766FF8 #F86FAC #F1F86F #6FF8BB
split-complementary
#766FF8 #F8BB6F #ACF86F
monochromatic
#160BE2 #3E35F5 #766FF8 #AEA9FB #E3E2FE

Accessibility & contrast

On white

3.89
#766FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#766FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FF8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FF8#FFFFFF#000000##000000
##766FF81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766ff8;
/* rgb */ color: rgb(118, 111, 248);
/* oklch */ color: oklch(61.9% 0.198 281.2);
Tailwind
colors: {
  custom: {
    50: '#a798fb',
    500: '#766ff8',
    950: '#000000',
  },
}
SCSS
$custom: #766ff8;
$custom-light: #a798fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766ff8",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 243.066,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.19829,
    "h": 281.2
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#766FF8
secondary
#F2F4CF
accent
#E600DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #766FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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