#766CED#766CED

#766CED is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.188 H 282.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#766CED
RGBrgb(118, 108, 237)
HSLhsl(245, 78%, 68%)
HSVhsv(245, 54%, 93%)
CMYKcmyk(50.2%, 54.4%, 0%, 7.1%)
CIE-LABlab(52.61, 37.42, -64.13)
CIE-LCHlch(52.61, 74.25, 300.27°)
OKLaboklab(60.66% 0.0415 -0.1832)
OKLCHoklch(60.66% 0.188 282.7)
XYZxyz(28.1152, 20.6896, 82.6164)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CED #E3ED6C
analogous
#6CA3ED #766CED #B66CED
triadic
#766CED #ED766C #6CED76
tetradic
#766CED #ED6CA3 #E3ED6C #6CEDB6
square
#766CED #ED6CA3 #E3ED6C #6CEDB6
split-complementary
#766CED #EDB66C #A3ED6C
monochromatic
#2618C6 #4335E6 #766CED #A9A3F4 #DCD9FA

Accessibility & contrast

On white

4.09
#766CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#766CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CED#FFFFFF#000000##000000
##766CED1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F1
Deuteranopia (green-blind)
#0879EA
Tritanopia (blue-blind)
#4889A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766ced;
/* rgb */ color: rgb(118, 108, 237);
/* oklch */ color: oklch(60.7% 0.188 282.7);
Tailwind
colors: {
  custom: {
    50: '#a596f4',
    500: '#766ced',
    950: '#000000',
  },
}
SCSS
$custom: #766ced;
$custom-light: #a596f4;
$custom-dark: #000000;
JSON
{
  "hex": "#766ced",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 244.651,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.18786,
    "h": 282.7
  },
  "luminance": 0.20691
}

Semantic roles & 50–950 ramp

primary
#766CED
secondary
#EBEEC6
accent
#DA0BCA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CED

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

Preview Lab → · Contrast checker → · Palette generator →

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