#766CF8#766CF8

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

Color values

HEX#766CF8
RGBrgb(118, 108, 248)
HSLhsl(244, 91%, 70%)
HSVhsv(244, 56%, 97%)
CMYKcmyk(52.4%, 56.5%, 0%, 2.7%)
CIE-LABlab(53.33, 40.72, -69.09)
CIE-LCHlch(53.33, 80.19, 300.51°)
OKLaboklab(61.43% 0.0416 -0.1978)
OKLCHoklch(61.43% 0.202 281.9)
XYZxyz(29.7718, 21.3522, 91.3414)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CF8 #EEF86C
analogous
#6CA8F8 #766CF8 #BC6CF8
triadic
#766CF8 #F8766C #6CF876
tetradic
#766CF8 #F86CA8 #EEF86C #6CF8BC
square
#766CF8 #F86CA8 #EEF86C #6CF8BC
split-complementary
#766CF8 #F8BC6C #A8F86C
monochromatic
#1A0BDF #4032F5 #766CF8 #ACA6FB #E3E1FE

Accessibility & contrast

On white

3.98
#766CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##766CF8#FFFFFF#000000##000000
##766CF81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766cf8;
/* rgb */ color: rgb(118, 108, 248);
/* oklch */ color: oklch(61.4% 0.202 281.9);
Tailwind
colors: {
  custom: {
    50: '#a796fb',
    500: '#766cf8',
    950: '#000000',
  },
}
SCSS
$custom: #766cf8;
$custom-light: #a796fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766cf8",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 244.286,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.20213,
    "h": 281.9
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#766CF8
secondary
#F1F4CC
accent
#E600D5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #766CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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