#766CFB#766CFB

#766CFB is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.6% C 0.206 H 281.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#766CFB
RGBrgb(118, 108, 251)
HSLhsl(244, 95%, 70%)
HSVhsv(244, 57%, 98%)
CMYKcmyk(53%, 57%, 0%, 1.6%)
CIE-LABlab(53.54, 41.62, -70.42)
CIE-LCHlch(53.54, 81.80, 300.58°)
OKLaboklab(61.65% 0.0416 -0.2018)
OKLCHoklch(61.65% 0.206 281.6)
XYZxyz(30.2410, 21.5399, 93.8122)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CFB #F1FB6C
analogous
#6CA9FB #766CFB #BE6CFB
triadic
#766CFB #FB766C #6CFB76
tetradic
#766CFB #FB6CA9 #F1FB6C #6CFBBE
square
#766CFB #FB6CA9 #F1FB6C #6CFBBE
split-complementary
#766CFB #FBBE6C #A9FB6C
monochromatic
#1606E6 #3E30F9 #766CFB #AEA8FD #E3E1FE

Accessibility & contrast

On white

3.96
#766CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#766CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CFB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CFB#FFFFFF#000000##000000
##766CFB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#3B8DA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766cfb;
/* rgb */ color: rgb(118, 108, 251);
/* oklch */ color: oklch(61.6% 0.206 281.6);
Tailwind
colors: {
  custom: {
    50: '#a796fe',
    500: '#766cfb',
    950: '#000000',
  },
}
SCSS
$custom: #766cfb;
$custom-light: #a796fe;
$custom-dark: #000000;
JSON
{
  "hex": "#766cfb",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 244.196,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.20599,
    "h": 281.6
  },
  "luminance": 0.21542
}

Semantic roles & 50–950 ramp

primary
#766CFB
secondary
#F2F5CE
accent
#E600D5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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