#766BC0#766BC0

#766BC0 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.6% C 0.128 H 287.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#766BC0
RGBrgb(118, 107, 192)
HSLhsl(248, 40%, 59%)
HSVhsv(248, 44%, 75%)
CMYKcmyk(38.5%, 44.3%, 0%, 24.7%)
CIE-LABlab(49.70, 24.90, -43.24)
CIE-LCHlch(49.70, 49.90, 299.94°)
OKLaboklab(57.63% 0.0387 -0.1219)
OKLCHoklch(57.63% 0.128 287.6)
XYZxyz(22.2407, 18.1720, 52.1947)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BC0 #B5C06B
analogous
#6B8AC0 #766BC0 #A06BC0
triadic
#766BC0 #C0766B #6BC076
tetradic
#766BC0 #C06B8A #B5C06B #6BC0A0
square
#766BC0 #C06B8A #B5C06B #6BC0A0
split-complementary
#766BC0 #C0A06B #8AC06B
monochromatic
#3E357C #5347A7 #766BC0 #9E96D2 #C5C1E5

Accessibility & contrast

On white

4.53
#766BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#766BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BC0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BC0#FFFFFF#000000##000000
##766BC01.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#627C8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #766bc0;
/* rgb */ color: rgb(118, 107, 192);
/* oklch */ color: oklch(57.6% 0.128 287.6);
Tailwind
colors: {
  custom: {
    50: '#a195d3',
    500: '#766bc0',
    950: '#000000',
  },
}
SCSS
$custom: #766bc0;
$custom-light: #a195d3;
$custom-dark: #000000;
JSON
{
  "hex": "#766bc0",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 247.765,
    "s": 40.284,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.12794,
    "h": 287.6
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#766BC0
secondary
#D0D4B3
accent
#D058C1
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #766BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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