#766ACC#766ACC

#766ACC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.146 H 286.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#766ACC
RGBrgb(118, 106, 204)
HSLhsl(247, 49%, 61%)
HSVhsv(247, 48%, 80%)
CMYKcmyk(42.2%, 48%, 0%, 20%)
CIE-LABlab(50.12, 28.92, -49.47)
CIE-LCHlch(50.12, 57.30, 300.31°)
OKLaboklab(58.16% 0.0416 -0.1402)
OKLCHoklch(58.16% 0.146 286.5)
XYZxyz(23.5212, 18.5184, 59.4501)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766ACC #C0CC6A
analogous
#6A8FCC #766ACC #A76ACC
triadic
#766ACC #CC766A #6ACC76
tetradic
#766ACC #CC6A8F #C0CC6A #6ACCA7
square
#766ACC #CC6A8F #C0CC6A #6ACCA7
split-complementary
#766ACC #CCA76A #8FCC6A
monochromatic
#3B308C #4E3FB9 #766ACC #A098DC #CAC5EB

Accessibility & contrast

On white

4.46
#766ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#766ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766ACC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766ACC#FFFFFF#000000##000000
##766ACC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#5D7E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #766acc;
/* rgb */ color: rgb(118, 106, 204);
/* oklch */ color: oklch(58.2% 0.146 286.5);
Tailwind
colors: {
  custom: {
    50: '#a294dc',
    500: '#766acc',
    950: '#000000',
  },
}
SCSS
$custom: #766acc;
$custom-light: #a294dc;
$custom-dark: #000000;
JSON
{
  "hex": "#766acc",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 247.347,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58155,
    "c": 0.14621,
    "h": 286.5
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#766ACC
secondary
#D7DBB6
accent
#BC29AA
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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