#766CE2#766CE2

#766CE2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.173 H 283.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#766CE2
RGBrgb(118, 108, 226)
HSLhsl(245, 67%, 65%)
HSVhsv(245, 52%, 89%)
CMYKcmyk(47.8%, 52.2%, 0%, 11.4%)
CIE-LABlab(51.91, 34.15, -59.08)
CIE-LCHlch(51.91, 68.24, 300.03°)
OKLaboklab(59.92% 0.041 -0.1684)
OKLCHoklch(59.92% 0.173 283.7)
XYZxyz(26.5572, 20.0664, 74.4106)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CE2 #D8E26C
analogous
#6C9DE2 #766CE2 #B16CE2
triadic
#766CE2 #E2766C #6CE276
tetradic
#766CE2 #E26C9D #D8E26C #6CE2B1
square
#766CE2 #E26C9D #D8E26C #6CE2B1
split-complementary
#766CE2 #E2B16C #9DE26C
monochromatic
#2F23B1 #4639D8 #766CE2 #A69FEC #D5D2F6

Accessibility & contrast

On white

4.19
#766CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#766CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CE2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CE2#FFFFFF#000000##000000
##766CE21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E6
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#50869D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #766ce2;
/* rgb */ color: rgb(118, 108, 226);
/* oklch */ color: oklch(59.9% 0.173 283.7);
Tailwind
colors: {
  custom: {
    50: '#a496ec',
    500: '#766ce2',
    950: '#000000',
  },
}
SCSS
$custom: #766ce2;
$custom-light: #a496ec;
$custom-dark: #000000;
JSON
{
  "hex": "#766ce2",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 245.085,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.17329,
    "h": 283.7
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#766CE2
secondary
#E5E9C1
accent
#CF17BF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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