#766AEB#766AEB

#766AEB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.2% C 0.188 H 283.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#766AEB
RGBrgb(118, 106, 235)
HSLhsl(246, 76%, 67%)
HSVhsv(246, 55%, 92%)
CMYKcmyk(49.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.01, 38.00, -63.97)
CIE-LCHlch(52.01, 74.41, 300.71°)
OKLaboklab(60.18% 0.0436 -0.1828)
OKLCHoklch(60.18% 0.188 283.4)
XYZxyz(27.6161, 20.1563, 81.0166)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AEB #DFEB6A
analogous
#6A9FEB #766AEB #B66AEB
triadic
#766AEB #EB766A #6AEB76
tetradic
#766AEB #EB6A9F #DFEB6A #6AEBB6
square
#766AEB #EB6A9F #DFEB6A #6AEBB6
split-complementary
#766AEB #EBB66A #9FEB6A
monochromatic
#291AC1 #4434E4 #766AEB #A8A0F2 #D9D6F9

Accessibility & contrast

On white

4.17
#766AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#766AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AEB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AEB#FFFFFF#000000##000000
##766AEB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880EF
Deuteranopia (green-blind)
#0478E8
Tritanopia (blue-blind)
#4A87A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #766aeb;
/* rgb */ color: rgb(118, 106, 235);
/* oklch */ color: oklch(60.2% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#a595f2',
    500: '#766aeb',
    950: '#000000',
  },
}
SCSS
$custom: #766aeb;
$custom-light: #a595f2;
$custom-dark: #000000;
JSON
{
  "hex": "#766aeb",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 245.581,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.18789,
    "h": 283.4
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#766AEB
secondary
#E9EDC4
accent
#D90DC6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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