#766CF3#766CF3

#766CF3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.196 H 282.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#766CF3
RGBrgb(118, 108, 243)
HSLhsl(244, 85%, 69%)
HSVhsv(244, 56%, 95%)
CMYKcmyk(51.4%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.00, 39.22, -66.84)
CIE-LCHlch(53.00, 77.50, 300.40°)
OKLaboklab(61.08% 0.0416 -0.1912)
OKLCHoklch(61.08% 0.196 282.3)
XYZxyz(29.0065, 21.0461, 87.3105)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CF3 #E9F36C
analogous
#6CA6F3 #766CF3 #BA6CF3
triadic
#766CF3 #F3766C #6CF376
tetradic
#766CF3 #F36CA6 #E9F36C #6CF3BA
square
#766CF3 #F36CA6 #E9F36C #6CF3BA
split-complementary
#766CF3 #F3BA6C #A6F36C
monochromatic
#2011D3 #4133EE #766CF3 #ABA5F8 #DFDDFC

Accessibility & contrast

On white

4.03
#766CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#766CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CF3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CF3#FFFFFF#000000##000000
##766CF31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0683F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#438BA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766cf3;
/* rgb */ color: rgb(118, 108, 243);
/* oklch */ color: oklch(61.1% 0.196 282.3);
Tailwind
colors: {
  custom: {
    50: '#a696f8',
    500: '#766cf3',
    950: '#000000',
  },
}
SCSS
$custom: #766cf3;
$custom-light: #a696f8;
$custom-dark: #000000;
JSON
{
  "hex": "#766cf3",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 244.444,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.19568,
    "h": 282.3
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#766CF3
secondary
#EEF1C9
accent
#E104D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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