#766BF6#766BF6

#766BF6 is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 61.1% C 0.201 H 282.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#766BF6
RGBrgb(118, 107, 246)
HSLhsl(245, 89%, 69%)
HSVhsv(245, 57%, 96%)
CMYKcmyk(52%, 56.5%, 0%, 3.5%)
CIE-LABlab(52.97, 40.70, -68.56)
CIE-LCHlch(52.97, 79.73, 300.70°)
OKLaboklab(61.12% 0.0426 -0.1963)
OKLCHoklch(61.12% 0.201 282.2)
XYZxyz(29.3584, 21.0191, 89.6810)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF6 #EBF66B
analogous
#6BA6F6 #766BF6 #BC6BF6
triadic
#766BF6 #F6766B #6BF676
tetradic
#766BF6 #F66BA6 #EBF66B #6BF6BC
square
#766BF6 #F66BA6 #EBF66B #6BF6BC
split-complementary
#766BF6 #F6BC6B #A6F66B
monochromatic
#1D0DD9 #4131F2 #766BF6 #ABA5FA #E1DEFD

Accessibility & contrast

On white

4.04
#766BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#766BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF6#FFFFFF#000000##000000
##766BF61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#408BA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf6;
/* rgb */ color: rgb(118, 107, 246);
/* oklch */ color: oklch(61.1% 0.201 282.2);
Tailwind
colors: {
  custom: {
    50: '#a796fa',
    500: '#766bf6',
    950: '#000000',
  },
}
SCSS
$custom: #766bf6;
$custom-light: #a796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf6",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 244.748,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6112,
    "c": 0.20085,
    "h": 282.2
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#766BF6
secondary
#EFF3CA
accent
#E500D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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