#766CCB#766CCB

#766CCB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.142 H 285.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#766CCB
RGBrgb(118, 108, 203)
HSLhsl(246, 48%, 61%)
HSVhsv(246, 47%, 80%)
CMYKcmyk(41.9%, 46.8%, 0%, 20.4%)
CIE-LABlab(50.56, 27.43, -48.20)
CIE-LCHlch(50.56, 55.46, 299.65°)
OKLaboklab(58.47% 0.039 -0.1364)
OKLCHoklch(58.47% 0.142 285.9)
XYZxyz(23.6102, 18.8876, 58.8900)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CCB #C1CB6C
analogous
#6C91CB #766CCB #A56CCB
triadic
#766CCB #CB766C #6CCB76
tetradic
#766CCB #CB6C91 #C1CB6C #6CCBA5
square
#766CCB #CB6C91 #C1CB6C #6CCBA5
split-complementary
#766CCB #CBA56C #91CB6C
monochromatic
#3B318B #4E41B9 #766CCB #A099DB #CAC6EB

Accessibility & contrast

On white

4.40
#766CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#766CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CCB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CCB#FFFFFF#000000##000000
##766CCB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#5D7F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #766ccb;
/* rgb */ color: rgb(118, 108, 203);
/* oklch */ color: oklch(58.5% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#a296db',
    500: '#766ccb',
    950: '#000000',
  },
}
SCSS
$custom: #766ccb;
$custom-light: #a296db;
$custom-dark: #000000;
JSON
{
  "hex": "#766ccb",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 246.316,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.1419,
    "h": 285.9
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#766CCB
secondary
#D8DBB7
accent
#BB2AAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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