#766FED#766FED

#766FED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.184 H 282.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#766FED
RGBrgb(118, 111, 237)
HSLhsl(243, 78%, 68%)
HSVhsv(243, 53%, 93%)
CMYKcmyk(50.2%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.31, 35.65, -62.99)
CIE-LCHlch(53.31, 72.38, 299.51°)
OKLaboklab(61.19% 0.0382 -0.1799)
OKLCHoklch(61.19% 0.184 282)
XYZxyz(28.4371, 21.3333, 82.7237)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FED #E6ED6F
analogous
#6FA7ED #766FED #B56FED
triadic
#766FED #ED766F #6FED76
tetradic
#766FED #ED6FA7 #E6ED6F #6FEDB5
square
#766FED #ED6FA7 #E6ED6F #6FEDB5
split-complementary
#766FED #EDB56F #A7ED6F
monochromatic
#2319C9 #4239E6 #766FED #AAA5F4 #DEDCFB

Accessibility & contrast

On white

3.99
#766FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#766FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FED#FFFFFF#000000##000000
##766FED1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#478BA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766fed;
/* rgb */ color: rgb(118, 111, 237);
/* oklch */ color: oklch(61.2% 0.184 282.0);
Tailwind
colors: {
  custom: {
    50: '#a598f4',
    500: '#766fed',
    950: '#000000',
  },
}
SCSS
$custom: #766fed;
$custom-light: #a598f4;
$custom-dark: #000000;
JSON
{
  "hex": "#766fed",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 243.333,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.18389,
    "h": 282
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#766FED
secondary
#EDEFC9
accent
#DA0BCF
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FED

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

Preview Lab → · Contrast checker → · Palette generator →

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