#766CDC#766CDC

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

Color values

HEX#766CDC
RGBrgb(118, 108, 220)
HSLhsl(245, 62%, 64%)
HSVhsv(245, 51%, 86%)
CMYKcmyk(46.4%, 50.9%, 0%, 13.7%)
CIE-LABlab(51.55, 32.38, -56.28)
CIE-LCHlch(51.55, 64.93, 299.91°)
OKLaboklab(59.53% 0.0406 -0.1602)
OKLCHoklch(59.53% 0.165 284.2)
XYZxyz(25.7482, 19.7428, 70.1503)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CDC #D2DC6C
analogous
#6C9ADC #766CDC #AE6CDC
triadic
#766CDC #DC766C #6CDC76
tetradic
#766CDC #DC6C9A #D2DC6C #6CDCAE
square
#766CDC #DC6C9A #D2DC6C #6CDCAE
split-complementary
#766CDC #DCAE6C #9ADC6C
monochromatic
#3328A6 #483BD0 #766CDC #A49DE8 #D2CFF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766CDC#FFFFFF#000000##000000
##766CDC1.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)
#377EE0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#54849A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766cdc;
/* rgb */ color: rgb(118, 108, 220);
/* oklch */ color: oklch(59.5% 0.165 284.2);
Tailwind
colors: {
  custom: {
    50: '#a396e7',
    500: '#766cdc',
    950: '#000000',
  },
}
SCSS
$custom: #766cdc;
$custom-light: #a396e7;
$custom-dark: #000000;
JSON
{
  "hex": "#766cdc",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 245.357,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.16523,
    "h": 284.2
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#766CDC
secondary
#E2E5BE
accent
#C91CBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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