#766BF8#766BF8

#766BF8 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.3% C 0.203 H 282.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#766BF8
RGBrgb(118, 107, 248)
HSLhsl(245, 91%, 70%)
HSVhsv(245, 57%, 97%)
CMYKcmyk(52.4%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.11, 41.30, -69.45)
CIE-LCHlch(53.11, 80.81, 300.74°)
OKLaboklab(61.26% 0.0426 -0.1989)
OKLCHoklch(61.26% 0.203 282.1)
XYZxyz(29.6670, 21.1425, 91.3064)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF8 #EDF86B
analogous
#6BA7F8 #766BF8 #BD6BF8
triadic
#766BF8 #F8766B #6BF876
tetradic
#766BF8 #F86BA7 #EDF86B #6BF8BD
square
#766BF8 #F86BA7 #EDF86B #6BF8BD
split-complementary
#766BF8 #F8BD6B #A7F86B
monochromatic
#1B0BDE #4031F5 #766BF8 #ACA5FB #E2E0FE

Accessibility & contrast

On white

4.02
#766BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#766BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF8#FFFFFF#000000##000000
##766BF81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#3E8CA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766bf8;
/* rgb */ color: rgb(118, 107, 248);
/* oklch */ color: oklch(61.3% 0.203 282.1);
Tailwind
colors: {
  custom: {
    50: '#a796fb',
    500: '#766bf8',
    950: '#000000',
  },
}
SCSS
$custom: #766bf8;
$custom-light: #a796fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf8",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 244.681,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.20341,
    "h": 282.1
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#766BF8
secondary
#F0F4CB
accent
#E600D4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #766BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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