#766CFC#766CFC

#766CFC is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.7% C 0.207 H 281.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#766CFC
RGBrgb(118, 108, 252)
HSLhsl(244, 96%, 71%)
HSVhsv(244, 57%, 99%)
CMYKcmyk(53.2%, 57.1%, 0%, 1.2%)
CIE-LABlab(53.60, 41.92, -70.87)
CIE-LCHlch(53.60, 82.34, 300.61°)
OKLaboklab(61.72% 0.0416 -0.203)
OKLCHoklch(61.72% 0.207 281.6)
XYZxyz(30.3990, 21.6031, 94.6446)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CFC #F2FC6C
analogous
#6CAAFC #766CFC #BE6CFC
triadic
#766CFC #FC766C #6CFC76
tetradic
#766CFC #FC6CAA #F2FC6C #6CFCBE
square
#766CFC #FC6CAA #F2FC6C #6CFCBE
split-complementary
#766CFC #FCBE6C #AAFC6C
monochromatic
#1505E9 #3E30FB #766CFC #AEA8FD #E3E1FE

Accessibility & contrast

On white

3.95
#766CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#766CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CFC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CFC#FFFFFF#000000##000000
##766CFC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766cfc;
/* rgb */ color: rgb(118, 108, 252);
/* oklch */ color: oklch(61.7% 0.207 281.6);
Tailwind
colors: {
  custom: {
    50: '#a796fe',
    500: '#766cfc',
    950: '#000000',
  },
}
SCSS
$custom: #766cfc;
$custom-light: #a796fe;
$custom-dark: #000000;
JSON
{
  "hex": "#766cfc",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 244.167,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61716,
    "c": 0.20726,
    "h": 281.6
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#766CFC
secondary
#F3F5CE
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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