#766CD1#766CD1

#766CD1 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.150 H 285.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#766CD1
RGBrgb(118, 108, 209)
HSLhsl(246, 52%, 62%)
HSVhsv(246, 48%, 82%)
CMYKcmyk(43.5%, 48.3%, 0%, 18%)
CIE-LABlab(50.90, 29.17, -51.08)
CIE-LCHlch(50.90, 58.82, 299.73°)
OKLaboklab(58.83% 0.0397 -0.1449)
OKLCHoklch(58.83% 0.15 285.3)
XYZxyz(24.3391, 19.1791, 62.7288)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CD1 #C7D16C
analogous
#6C94D1 #766CD1 #A96CD1
triadic
#766CD1 #D1766C #6CD176
tetradic
#766CD1 #D16C94 #C7D16C #6CD1A9
square
#766CD1 #D16C94 #C7D16C #6CD1A9
split-complementary
#766CD1 #D1A96C #94D16C
monochromatic
#382E94 #4B3DC2 #766CD1 #A19BE0 #CDC9EE

Accessibility & contrast

On white

4.34
#766CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#766CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CD1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CD1#FFFFFF#000000##000000
##766CD11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD5
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#5A8194
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #766cd1;
/* rgb */ color: rgb(118, 108, 209);
/* oklch */ color: oklch(58.8% 0.150 285.3);
Tailwind
colors: {
  custom: {
    50: '#a296e0',
    500: '#766cd1',
    950: '#000000',
  },
}
SCSS
$custom: #766cd1;
$custom-light: #a296e0;
$custom-dark: #000000;
JSON
{
  "hex": "#766cd1",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 245.941,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58833,
    "c": 0.15022,
    "h": 285.3
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#766CD1
secondary
#DBDFBA
accent
#C026B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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