#766BE4#766BE4

#766BE4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.9% C 0.177 H 283.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#766BE4
RGBrgb(118, 107, 228)
HSLhsl(245, 69%, 66%)
HSVhsv(245, 53%, 89%)
CMYKcmyk(48.2%, 53.1%, 0%, 10.6%)
CIE-LABlab(51.80, 35.34, -60.38)
CIE-LCHlch(51.80, 69.96, 300.34°)
OKLaboklab(59.88% 0.0422 -0.1722)
OKLCHoklch(59.88% 0.177 283.8)
XYZxyz(26.7283, 19.9671, 75.8294)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BE4 #D9E46B
analogous
#6B9CE4 #766BE4 #B36BE4
triadic
#766BE4 #E4766B #6BE476
tetradic
#766BE4 #E46B9C #D9E46B #6BE4B3
square
#766BE4 #E46B9C #D9E46B #6BE4B3
split-complementary
#766BE4 #E4B36B #9CE46B
monochromatic
#2E21B4 #4637DB #766BE4 #A69FED #D6D3F7

Accessibility & contrast

On white

4.21
#766BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#766BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BE4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BE4#FFFFFF#000000##000000
##766BE41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#2278E1
Tritanopia (blue-blind)
#4F869D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766be4;
/* rgb */ color: rgb(118, 107, 228);
/* oklch */ color: oklch(59.9% 0.177 283.8);
Tailwind
colors: {
  custom: {
    50: '#a495ed',
    500: '#766be4',
    950: '#000000',
  },
}
SCSS
$custom: #766be4;
$custom-light: #a495ed;
$custom-dark: #000000;
JSON
{
  "hex": "#766be4",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 245.455,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.17732,
    "h": 283.8
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#766BE4
secondary
#E6EAC1
accent
#D114C0
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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