#766AE2#766AE2

#766AE2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.176 H 284.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#766AE2
RGBrgb(118, 106, 226)
HSLhsl(246, 67%, 65%)
HSVhsv(246, 53%, 89%)
CMYKcmyk(47.8%, 53.1%, 0%, 11.4%)
CIE-LABlab(51.44, 35.34, -59.84)
CIE-LCHlch(51.44, 69.49, 300.56°)
OKLaboklab(59.57% 0.0433 -0.1706)
OKLCHoklch(59.57% 0.176 284.2)
XYZxyz(26.3486, 19.6493, 74.3411)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AE2 #D6E26A
analogous
#6A9AE2 #766AE2 #B26AE2
triadic
#766AE2 #E2766A #6AE276
tetradic
#766AE2 #E26A9A #D6E26A #6AE2B2
square
#766AE2 #E26A9A #D6E26A #6AE2B2
split-complementary
#766AE2 #E2B26A #9AE26A
monochromatic
#3022AF #4737D8 #766AE2 #A59DEC #D4D0F6

Accessibility & contrast

On white

4.26
#766AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#766AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AE2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AE2#FFFFFF#000000##000000
##766AE21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE6
Deuteranopia (green-blind)
#2377DF
Tritanopia (blue-blind)
#50849C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766ae2;
/* rgb */ color: rgb(118, 106, 226);
/* oklch */ color: oklch(59.6% 0.176 284.2);
Tailwind
colors: {
  custom: {
    50: '#a495ec',
    500: '#766ae2',
    950: '#000000',
  },
}
SCSS
$custom: #766ae2;
$custom-light: #a495ec;
$custom-dark: #000000;
JSON
{
  "hex": "#766ae2",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 246,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.17602,
    "h": 284.2
  },
  "luminance": 0.19651
}

Semantic roles & 50–950 ramp

primary
#766AE2
secondary
#E4E8C0
accent
#CF16BD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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