#766CDF#766CDF

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

Color values

HEX#766CDF
RGBrgb(118, 108, 223)
HSLhsl(245, 64%, 65%)
HSVhsv(245, 52%, 87%)
CMYKcmyk(47.1%, 51.6%, 0%, 12.5%)
CIE-LABlab(51.73, 33.27, -57.68)
CIE-LCHlch(51.73, 66.59, 299.97°)
OKLaboklab(59.72% 0.0408 -0.1643)
OKLCHoklch(59.72% 0.169 284)
XYZxyz(26.1491, 19.9031, 72.2616)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CDF #D5DF6C
analogous
#6C9CDF #766CDF #AF6CDF
triadic
#766CDF #DF766C #6CDF76
tetradic
#766CDF #DF6C9C #D5DF6C #6CDFAF
square
#766CDF #DF6C9C #D5DF6C #6CDFAF
split-complementary
#766CDF #DFAF6C #9CDF6C
monochromatic
#3125AB #473AD4 #766CDF #A59EEA #D4D1F5

Accessibility & contrast

On white

4.22
#766CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#766CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CDF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CDF#FFFFFF#000000##000000
##766CDF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#2E78DC
Tritanopia (blue-blind)
#52859B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766cdf;
/* rgb */ color: rgb(118, 108, 223);
/* oklch */ color: oklch(59.7% 0.169 284.0);
Tailwind
colors: {
  custom: {
    50: '#a496ea',
    500: '#766cdf',
    950: '#000000',
  },
}
SCSS
$custom: #766cdf;
$custom-light: #a496ea;
$custom-dark: #000000;
JSON
{
  "hex": "#766cdf",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 245.217,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.16927,
    "h": 284
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#766CDF
secondary
#E4E7C0
accent
#CC19BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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