#766FFB#766FFB

#766FFB is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.2% C 0.202 H 281.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#766FFB
RGBrgb(118, 111, 251)
HSLhsl(243, 95%, 71%)
HSVhsv(243, 56%, 98%)
CMYKcmyk(53%, 55.8%, 0%, 1.6%)
CIE-LABlab(54.22, 39.87, -69.31)
CIE-LCHlch(54.22, 79.96, 299.91°)
OKLaboklab(62.15% 0.0386 -0.1985)
OKLCHoklch(62.15% 0.202 281)
XYZxyz(30.5629, 22.1836, 93.9195)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FFB #F4FB6F
analogous
#6FAEFB #766FFB #BC6FFB
triadic
#766FFB #FB766F #6FFB76
tetradic
#766FFB #FB6FAE #F4FB6F #6FFBBC
square
#766FFB #FB6FAE #F4FB6F #6FFBBC
split-complementary
#766FFB #FBBC6F #AEFB6F
monochromatic
#1206E9 #3D33F9 #766FFB #AFABFD #E3E1FE

Accessibility & contrast

On white

3.86
#766FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#766FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FFB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FFB#FFFFFF#000000##000000
##766FFB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#3A8FAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #766ffb;
/* rgb */ color: rgb(118, 111, 251);
/* oklch */ color: oklch(62.2% 0.202 281.0);
Tailwind
colors: {
  custom: {
    50: '#a798fd',
    500: '#766ffb',
    950: '#000000',
  },
}
SCSS
$custom: #766ffb;
$custom-light: #a798fd;
$custom-dark: #000000;
JSON
{
  "hex": "#766ffb",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 243,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.20217,
    "h": 281
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#766FFB
secondary
#F4F6D0
accent
#E600DA
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #766FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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