#766FF5#766FF5

#766FF5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.194 H 281.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#766FF5
RGBrgb(118, 111, 245)
HSLhsl(243, 87%, 70%)
HSVhsv(243, 55%, 96%)
CMYKcmyk(51.8%, 54.7%, 0%, 3.9%)
CIE-LABlab(53.83, 38.06, -66.62)
CIE-LCHlch(53.83, 76.73, 299.74°)
OKLaboklab(61.73% 0.0385 -0.1905)
OKLCHoklch(61.73% 0.194 281.4)
XYZxyz(29.6320, 21.8113, 89.0171)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FF5 #EEF56F
analogous
#6FABF5 #766FF5 #B96FF5
triadic
#766FF5 #F5766F #6FF576
tetradic
#766FF5 #F56FAB #EEF56F #6FF5B9
square
#766FF5 #F56FAB #EEF56F #6FF5B9
split-complementary
#766FF5 #F5B96F #ABF56F
monochromatic
#1A0FDA #4036F1 #766FF5 #ACA8F9 #E3E1FD

Accessibility & contrast

On white

3.92
#766FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#766FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FF5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FF5#FFFFFF#000000##000000
##766FF51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#408EA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #766ff5;
/* rgb */ color: rgb(118, 111, 245);
/* oklch */ color: oklch(61.7% 0.194 281.4);
Tailwind
colors: {
  custom: {
    50: '#a698f9',
    500: '#766ff5',
    950: '#000000',
  },
}
SCSS
$custom: #766ff5;
$custom-light: #a698f9;
$custom-dark: #000000;
JSON
{
  "hex": "#766ff5",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 243.134,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.19439,
    "h": 281.4
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#766FF5
secondary
#F1F3CD
accent
#E402D8
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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