#766BFB#766BFB

#766BFB is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.5% C 0.207 H 281.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#766BFB
RGBrgb(118, 107, 251)
HSLhsl(245, 95%, 70%)
HSVhsv(245, 57%, 98%)
CMYKcmyk(53%, 57.4%, 0%, 1.6%)
CIE-LABlab(53.31, 42.20, -70.79)
CIE-LCHlch(53.31, 82.41, 300.80°)
OKLaboklab(61.48% 0.0426 -0.2028)
OKLCHoklch(61.48% 0.207 281.9)
XYZxyz(30.1361, 21.3302, 93.7772)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BFB #F0FB6B
analogous
#6BA8FB #766BFB #BE6BFB
triadic
#766BFB #FB766B #6BFB76
tetradic
#766BFB #FB6BA8 #F0FB6B #6BFBBE
square
#766BFB #FB6BA8 #F0FB6B #6BFBBE
split-complementary
#766BFB #FBBE6B #A8FB6B
monochromatic
#1706E5 #3F2FF9 #766BFB #ADA7FD #E3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766BFB#FFFFFF#000000##000000
##766BFB1.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)
#0084FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#3B8DA9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766bfb;
/* rgb */ color: rgb(118, 107, 251);
/* oklch */ color: oklch(61.5% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#a796fe',
    500: '#766bfb',
    950: '#000000',
  },
}
SCSS
$custom: #766bfb;
$custom-light: #a796fe;
$custom-dark: #000000;
JSON
{
  "hex": "#766bfb",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 244.583,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.20725,
    "h": 281.9
  },
  "luminance": 0.21332
}

Semantic roles & 50–950 ramp

primary
#766BFB
secondary
#F2F5CD
accent
#E600D4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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