#766BEC#766BEC

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

Color values

HEX#766BEC
RGBrgb(118, 107, 236)
HSLhsl(245, 77%, 67%)
HSVhsv(245, 55%, 93%)
CMYKcmyk(50%, 54.7%, 0%, 7.5%)
CIE-LABlab(52.31, 37.71, -64.05)
CIE-LCHlch(52.31, 74.33, 300.49°)
OKLaboklab(60.42% 0.0425 -0.183)
OKLCHoklch(60.42% 0.188 283.1)
XYZxyz(27.8647, 20.4216, 81.8141)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BEC #E1EC6B
analogous
#6BA1EC #766BEC #B66BEC
triadic
#766BEC #EC766B #6BEC76
tetradic
#766BEC #EC6BA1 #E1EC6B #6BECB6
square
#766BEC #EC6BA1 #E1EC6B #6BECB6
split-complementary
#766BEC #ECB66B #A1EC6B
monochromatic
#2819C4 #4435E5 #766BEC #A8A1F3 #DAD7FA

Accessibility & contrast

On white

4.13
#766BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##766BEC#FFFFFF#000000##000000
##766BEC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A81F0
Deuteranopia (green-blind)
#0678E9
Tritanopia (blue-blind)
#4988A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #766bec;
/* rgb */ color: rgb(118, 107, 236);
/* oklch */ color: oklch(60.4% 0.188 283.1);
Tailwind
colors: {
  custom: {
    50: '#a595f3',
    500: '#766bec',
    950: '#000000',
  },
}
SCSS
$custom: #766bec;
$custom-light: #a595f3;
$custom-dark: #000000;
JSON
{
  "hex": "#766bec",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 245.116,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.18787,
    "h": 283.1
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#766BEC
secondary
#EAEEC5
accent
#D90CC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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