#766AEF#766AEF

#766AEF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.5% C 0.193 H 283.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#766AEF
RGBrgb(118, 106, 239)
HSLhsl(245, 81%, 68%)
HSVhsv(245, 56%, 94%)
CMYKcmyk(50.6%, 55.6%, 0%, 6.3%)
CIE-LABlab(52.28, 39.19, -65.78)
CIE-LCHlch(52.28, 76.57, 300.79°)
OKLaboklab(60.46% 0.0436 -0.1881)
OKLCHoklch(60.46% 0.193 283.1)
XYZxyz(28.2005, 20.3901, 84.0943)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AEF #E3EF6A
analogous
#6AA0EF #766AEF #B96AEF
triadic
#766AEF #EF766A #6AEF76
tetradic
#766AEF #EF6AA0 #E3EF6A #6AEFB9
square
#766AEF #EF6AA0 #E3EF6A #6AEFB9
split-complementary
#766AEF #EFB96A #A0EF6A
monochromatic
#2616C9 #4333E9 #766AEF #A9A1F5 #DCD9FB

Accessibility & contrast

On white

4.14
#766AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#766AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AEF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AEF#FFFFFF#000000##000000
##766AEF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0881F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#4688A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #766aef;
/* rgb */ color: rgb(118, 106, 239);
/* oklch */ color: oklch(60.5% 0.193 283.1);
Tailwind
colors: {
  custom: {
    50: '#a695f5',
    500: '#766aef',
    950: '#000000',
  },
}
SCSS
$custom: #766aef;
$custom-light: #a695f5;
$custom-dark: #000000;
JSON
{
  "hex": "#766aef",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 245.414,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60457,
    "c": 0.1931,
    "h": 283.1
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#766AEF
secondary
#EBEFC6
accent
#DD09CA
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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