#766DEC#766DEC

#766DEC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.185 H 282.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#766DEC
RGBrgb(118, 109, 236)
HSLhsl(244, 77%, 68%)
HSVhsv(244, 54%, 93%)
CMYKcmyk(50%, 53.8%, 0%, 7.5%)
CIE-LABlab(52.78, 36.54, -63.29)
CIE-LCHlch(52.78, 73.08, 300.00°)
OKLaboklab(60.77% 0.0403 -0.1808)
OKLCHoklch(60.77% 0.185 282.6)
XYZxyz(28.0756, 20.8435, 81.8844)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DEC #E3EC6D
analogous
#6DA3EC #766DEC #B56DEC
triadic
#766DEC #EC766D #6DEC76
tetradic
#766DEC #EC6DA3 #E3EC6D #6DECB5
square
#766DEC #EC6DA3 #E3EC6D #6DECB5
split-complementary
#766DEC #ECB56D #A3EC6D
monochromatic
#261AC5 #4337E5 #766DEC #A9A3F3 #DCD9FA

Accessibility & contrast

On white

4.06
#766DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#766DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DEC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DEC#FFFFFF#000000##000000
##766DEC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#147AE9
Tritanopia (blue-blind)
#4989A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766dec;
/* rgb */ color: rgb(118, 109, 236);
/* oklch */ color: oklch(60.8% 0.185 282.6);
Tailwind
colors: {
  custom: {
    50: '#a597f3',
    500: '#766dec',
    950: '#000000',
  },
}
SCSS
$custom: #766dec;
$custom-light: #a597f3;
$custom-dark: #000000;
JSON
{
  "hex": "#766dec",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 244.252,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.18522,
    "h": 282.6
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#766DEC
secondary
#EBEEC7
accent
#D90CCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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