#766CDA#766CDA

#766CDA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.163 H 284.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#766CDA
RGBrgb(118, 108, 218)
HSLhsl(245, 60%, 64%)
HSVhsv(245, 50%, 85%)
CMYKcmyk(45.9%, 50.5%, 0%, 14.5%)
CIE-LABlab(51.42, 31.79, -55.34)
CIE-LCHlch(51.42, 63.82, 299.88°)
OKLaboklab(59.4% 0.0405 -0.1574)
OKLCHoklch(59.4% 0.163 284.4)
XYZxyz(25.4849, 19.6375, 68.7637)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CDA #D0DA6C
analogous
#6C99DA #766CDA #AD6CDA
triadic
#766CDA #DA766C #6CDA76
tetradic
#766CDA #DA6C99 #D0DA6C #6CDAAD
square
#766CDA #DA6C99 #D0DA6C #6CDAAD
split-complementary
#766CDA #DAAD6C #99DA6C
monochromatic
#3429A3 #483BCE #766CDA #A49DE6 #D1CEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766CDA#FFFFFF#000000##000000
##766CDA1.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)
#3A7EDE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#558499
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766cda;
/* rgb */ color: rgb(118, 108, 218);
/* oklch */ color: oklch(59.4% 0.163 284.4);
Tailwind
colors: {
  custom: {
    50: '#a396e6',
    500: '#766cda',
    950: '#000000',
  },
}
SCSS
$custom: #766cda;
$custom-light: #a396e6;
$custom-dark: #000000;
JSON
{
  "hex": "#766cda",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 245.455,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.594,
    "c": 0.16252,
    "h": 284.4
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#766CDA
secondary
#E1E4BE
accent
#C71EB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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