#766CCC#766CCC

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

Color values

HEX#766CCC
RGBrgb(118, 108, 204)
HSLhsl(246, 48%, 61%)
HSVhsv(246, 47%, 80%)
CMYKcmyk(42.2%, 47.1%, 0%, 20%)
CIE-LABlab(50.61, 27.72, -48.68)
CIE-LCHlch(50.61, 56.02, 299.66°)
OKLaboklab(58.53% 0.0391 -0.1379)
OKLCHoklch(58.53% 0.143 285.8)
XYZxyz(23.7297, 18.9354, 59.5196)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CCC #C2CC6C
analogous
#6C92CC #766CCC #A66CCC
triadic
#766CCC #CC766C #6CCC76
tetradic
#766CCC #CC6C92 #C2CC6C #6CCCA6
square
#766CCC #CC6C92 #C2CC6C #6CCCA6
split-complementary
#766CCC #CCA66C #92CC6C
monochromatic
#3A318D #4D41BA #766CCC #A099DC #CBC7EC

Accessibility & contrast

On white

4.39
#766CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#766CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CCC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CCC#FFFFFF#000000##000000
##766CCC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#5C8092
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #766ccc;
/* rgb */ color: rgb(118, 108, 204);
/* oklch */ color: oklch(58.5% 0.143 285.8);
Tailwind
colors: {
  custom: {
    50: '#a296dc',
    500: '#766ccc',
    950: '#000000',
  },
}
SCSS
$custom: #766ccc;
$custom-light: #a296dc;
$custom-dark: #000000;
JSON
{
  "hex": "#766ccc",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 246.25,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.14329,
    "h": 285.8
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#766CCC
secondary
#D8DCB8
accent
#BC2AAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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