#766AF8#766AF8

#766AF8 is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.1% C 0.205 H 282.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#766AF8
RGBrgb(118, 106, 248)
HSLhsl(245, 91%, 69%)
HSVhsv(245, 57%, 97%)
CMYKcmyk(52.4%, 57.3%, 0%, 2.7%)
CIE-LABlab(52.88, 41.88, -69.82)
CIE-LCHlch(52.88, 81.42, 300.96°)
OKLaboklab(61.1% 0.0436 -0.2)
OKLCHoklch(61.1% 0.205 282.3)
XYZxyz(29.5633, 20.9352, 91.2718)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AF8 #ECF86A
analogous
#6AA5F8 #766AF8 #BD6AF8
triadic
#766AF8 #F8766A #6AF876
tetradic
#766AF8 #F86AA5 #ECF86A #6AF8BD
square
#766AF8 #F86AA5 #ECF86A #6AF8BD
split-complementary
#766AF8 #F8BD6A #A5F86A
monochromatic
#1C0ADD #4030F5 #766AF8 #ACA4FB #E1DFFD

Accessibility & contrast

On white

4.05
#766AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#766AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AF8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AF8#FFFFFF#000000##000000
##766AF81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#3E8BA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766af8;
/* rgb */ color: rgb(118, 106, 248);
/* oklch */ color: oklch(61.1% 0.205 282.3);
Tailwind
colors: {
  custom: {
    50: '#a795fb',
    500: '#766af8',
    950: '#000000',
  },
}
SCSS
$custom: #766af8;
$custom-light: #a795fb;
$custom-dark: #000000;
JSON
{
  "hex": "#766af8",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 245.07,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.20469,
    "h": 282.3
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#766AF8
secondary
#F0F3CA
accent
#E600D2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #766AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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