#766FEE#766FEE

#766FEE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.185 H 281.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#766FEE
RGBrgb(118, 111, 238)
HSLhsl(243, 79%, 68%)
HSVhsv(243, 53%, 93%)
CMYKcmyk(50.4%, 53.4%, 0%, 6.7%)
CIE-LABlab(53.38, 35.95, -63.45)
CIE-LCHlch(53.38, 72.93, 299.54°)
OKLaboklab(61.25% 0.0383 -0.1812)
OKLCHoklch(61.25% 0.185 281.9)
XYZxyz(28.5836, 21.3919, 83.4952)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FEE #E7EE6F
analogous
#6FA7EE #766FEE #B56FEE
triadic
#766FEE #EE766F #6FEE76
tetradic
#766FEE #EE6FA7 #E7EE6F #6FEEB5
square
#766FEE #EE6FA7 #E7EE6F #6FEEB5
split-complementary
#766FEE #EEB56F #A7EE6F
monochromatic
#2218CB #4238E8 #766FEE #AAA6F4 #DEDCFB

Accessibility & contrast

On white

3.98
#766FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#766FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FEE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FEE#FFFFFF#000000##000000
##766FEE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#177BEB
Tritanopia (blue-blind)
#478BA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766fee;
/* rgb */ color: rgb(118, 111, 238);
/* oklch */ color: oklch(61.3% 0.185 281.9);
Tailwind
colors: {
  custom: {
    50: '#a598f4',
    500: '#766fee',
    950: '#000000',
  },
}
SCSS
$custom: #766fee;
$custom-light: #a598f4;
$custom-dark: #000000;
JSON
{
  "hex": "#766fee",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 243.307,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.1852,
    "h": 281.9
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#766FEE
secondary
#EDF0C9
accent
#DB0AD0
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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