#766CEB#766CEB

#766CEB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.5% C 0.185 H 282.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#766CEB
RGBrgb(118, 108, 235)
HSLhsl(245, 76%, 67%)
HSVhsv(245, 54%, 92%)
CMYKcmyk(49.8%, 54%, 0%, 7.8%)
CIE-LABlab(52.48, 36.83, -63.22)
CIE-LCHlch(52.48, 73.16, 300.22°)
OKLaboklab(60.53% 0.0414 -0.1805)
OKLCHoklch(60.53% 0.185 282.9)
XYZxyz(27.8246, 20.5734, 81.0861)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CEB #E1EB6C
analogous
#6CA2EB #766CEB #B56CEB
triadic
#766CEB #EB766C #6CEB76
tetradic
#766CEB #EB6CA2 #E1EB6C #6CEBB5
square
#766CEB #EB6CA2 #E1EB6C #6CEBB5
split-complementary
#766CEB #EBB56C #A2EB6C
monochromatic
#281AC2 #4436E4 #766CEB #A8A2F2 #DAD8FA

Accessibility & contrast

On white

4.11
#766CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#766CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CEB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CEB#FFFFFF#000000##000000
##766CEB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#1279E8
Tritanopia (blue-blind)
#4988A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #766ceb;
/* rgb */ color: rgb(118, 108, 235);
/* oklch */ color: oklch(60.5% 0.185 282.9);
Tailwind
colors: {
  custom: {
    50: '#a596f2',
    500: '#766ceb',
    950: '#000000',
  },
}
SCSS
$custom: #766ceb;
$custom-light: #a596f2;
$custom-dark: #000000;
JSON
{
  "hex": "#766ceb",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 244.724,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.18523,
    "h": 282.9
  },
  "luminance": 0.20575
}

Semantic roles & 50–950 ramp

primary
#766CEB
secondary
#EAEDC5
accent
#D80DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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