#766EE8#766EE8

#766EE8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.7% C 0.179 H 282.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#766EE8
RGBrgb(118, 110, 232)
HSLhsl(244, 73%, 67%)
HSVhsv(244, 53%, 91%)
CMYKcmyk(49.1%, 52.6%, 0%, 9%)
CIE-LABlab(52.76, 34.75, -61.08)
CIE-LCHlch(52.76, 70.27, 299.64°)
OKLaboklab(60.68% 0.0391 -0.1743)
OKLCHoklch(60.68% 0.179 282.6)
XYZxyz(27.6082, 20.8282, 78.8938)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EE8 #E0E86E
analogous
#6EA3E8 #766EE8 #B36EE8
triadic
#766EE8 #E8766E #6EE876
tetradic
#766EE8 #E86EA3 #E0E86E #6EE8B3
square
#766EE8 #E86EA3 #E0E86E #6EE8B3
split-complementary
#766EE8 #E8B36E #A3E86E
monochromatic
#291EBE #4439E0 #766EE8 #A8A3F0 #DAD8F9

Accessibility & contrast

On white

4.07
#766EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#766EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766EE8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EE8#FFFFFF#000000##000000
##766EE81.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#4B89A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766ee8;
/* rgb */ color: rgb(118, 110, 232);
/* oklch */ color: oklch(60.7% 0.179 282.6);
Tailwind
colors: {
  custom: {
    50: '#a597f0',
    500: '#766ee8',
    950: '#000000',
  },
}
SCSS
$custom: #766ee8;
$custom-light: #a597f0;
$custom-dark: #000000;
JSON
{
  "hex": "#766ee8",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 243.934,
    "s": 72.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.17859,
    "h": 282.6
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#766EE8
secondary
#EAECC6
accent
#D511C8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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