#766AE4#766AE4

#766AE4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.179 H 284.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#766AE4
RGBrgb(118, 106, 228)
HSLhsl(246, 69%, 65%)
HSVhsv(246, 54%, 89%)
CMYKcmyk(48.2%, 53.5%, 0%, 10.6%)
CIE-LABlab(51.56, 35.93, -60.76)
CIE-LCHlch(51.56, 70.59, 300.60°)
OKLaboklab(59.7% 0.0433 -0.1733)
OKLCHoklch(59.7% 0.179 284)
XYZxyz(26.6247, 19.7597, 75.7949)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AE4 #D8E46A
analogous
#6A9BE4 #766AE4 #B36AE4
triadic
#766AE4 #E4766A #6AE476
tetradic
#766AE4 #E46A9B #D8E46A #6AE4B3
square
#766AE4 #E46A9B #D8E46A #6AE4B3
split-complementary
#766AE4 #E4B36A #9BE46A
monochromatic
#2F20B3 #4636DB #766AE4 #A69EED #D5D2F7

Accessibility & contrast

On white

4.24
#766AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#766AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AE4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AE4#FFFFFF#000000##000000
##766AE41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE8
Deuteranopia (green-blind)
#1F77E1
Tritanopia (blue-blind)
#4F859D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766ae4;
/* rgb */ color: rgb(118, 106, 228);
/* oklch */ color: oklch(59.7% 0.179 284.0);
Tailwind
colors: {
  custom: {
    50: '#a495ed',
    500: '#766ae4',
    950: '#000000',
  },
}
SCSS
$custom: #766ae4;
$custom-light: #a495ed;
$custom-dark: #000000;
JSON
{
  "hex": "#766ae4",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 245.902,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.17868,
    "h": 284
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#766AE4
secondary
#E5E9C0
accent
#D114BF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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