#766CD2#766CD2

#766CD2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.152 H 285.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#766CD2
RGBrgb(118, 108, 210)
HSLhsl(246, 53%, 62%)
HSVhsv(246, 49%, 82%)
CMYKcmyk(43.8%, 48.6%, 0%, 17.6%)
CIE-LABlab(50.95, 29.46, -51.56)
CIE-LCHlch(50.95, 59.38, 299.74°)
OKLaboklab(58.9% 0.0398 -0.1463)
OKLCHoklch(58.9% 0.152 285.2)
XYZxyz(24.4633, 19.2288, 63.3828)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CD2 #C8D26C
analogous
#6C95D2 #766CD2 #A96CD2
triadic
#766CD2 #D2766C #6CD276
tetradic
#766CD2 #D26C95 #C8D26C #6CD2A9
square
#766CD2 #D26C95 #C8D26C #6CD2A9
split-complementary
#766CD2 #D2A96C #95D26C
monochromatic
#382E96 #4A3DC4 #766CD2 #A29BE0 #CDCAEF

Accessibility & contrast

On white

4.33
#766CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#766CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CD2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CD2#FFFFFF#000000##000000
##766CD21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#598195
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #766cd2;
/* rgb */ color: rgb(118, 108, 210);
/* oklch */ color: oklch(58.9% 0.152 285.2);
Tailwind
colors: {
  custom: {
    50: '#a296e0',
    500: '#766cd2',
    950: '#000000',
  },
}
SCSS
$custom: #766cd2;
$custom-light: #a296e0;
$custom-dark: #000000;
JSON
{
  "hex": "#766cd2",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 245.882,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.15159,
    "h": 285.2
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#766CD2
secondary
#DCE0BA
accent
#C125B1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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