#766CF5#766CF5

#766CF5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.2% C 0.198 H 282.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#766CF5
RGBrgb(118, 108, 245)
HSLhsl(244, 87%, 69%)
HSVhsv(244, 56%, 96%)
CMYKcmyk(51.8%, 55.9%, 0%, 3.9%)
CIE-LABlab(53.13, 39.82, -67.74)
CIE-LCHlch(53.13, 78.58, 300.45°)
OKLaboklab(61.22% 0.0416 -0.1939)
OKLCHoklch(61.22% 0.198 282.1)
XYZxyz(29.3102, 21.1676, 88.9098)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CF5 #EBF56C
analogous
#6CA6F5 #766CF5 #BB6CF5
triadic
#766CF5 #F5766C #6CF576
tetradic
#766CF5 #F56CA6 #EBF56C #6CF5BB
square
#766CF5 #F56CA6 #EBF56C #6CF5BB
split-complementary
#766CF5 #F5BB6C #A6F56C
monochromatic
#1D0FD8 #4133F1 #766CF5 #ABA5F9 #E1DFFD

Accessibility & contrast

On white

4.01
#766CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##766CF5#FFFFFF#000000##000000
##766CF51.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#418BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766cf5;
/* rgb */ color: rgb(118, 108, 245);
/* oklch */ color: oklch(61.2% 0.198 282.1);
Tailwind
colors: {
  custom: {
    50: '#a696f9',
    500: '#766cf5',
    950: '#000000',
  },
}
SCSS
$custom: #766cf5;
$custom-light: #a696f9;
$custom-dark: #000000;
JSON
{
  "hex": "#766cf5",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 244.38,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.19827,
    "h": 282.1
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#766CF5
secondary
#EFF2CA
accent
#E402D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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