#766BEA#766BEA

#766BEA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.3% C 0.185 H 283.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#766BEA
RGBrgb(118, 107, 234)
HSLhsl(245, 75%, 67%)
HSVhsv(245, 54%, 92%)
CMYKcmyk(49.6%, 54.3%, 0%, 8.2%)
CIE-LABlab(52.18, 37.12, -63.14)
CIE-LCHlch(52.18, 73.24, 300.45°)
OKLaboklab(60.28% 0.0424 -0.1803)
OKLCHoklch(60.28% 0.185 283.2)
XYZxyz(27.5757, 20.3060, 80.2924)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BEA #DFEA6B
analogous
#6BA0EA #766BEA #B66BEA
triadic
#766BEA #EA766B #6BEA76
tetradic
#766BEA #EA6BA0 #DFEA6B #6BEAB6
square
#766BEA #EA6BA0 #DFEA6B #6BEAB6
split-complementary
#766BEA #EAB66B #A0EA6B
monochromatic
#291BBF #4435E2 #766BEA #A8A1F2 #D9D6F9

Accessibility & contrast

On white

4.15
#766BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#766BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BEA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BEA#FFFFFF#000000##000000
##766BEA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#1178E7
Tritanopia (blue-blind)
#4A87A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #766bea;
/* rgb */ color: rgb(118, 107, 234);
/* oklch */ color: oklch(60.3% 0.185 283.2);
Tailwind
colors: {
  custom: {
    50: '#a595f1',
    500: '#766bea',
    950: '#000000',
  },
}
SCSS
$custom: #766bea;
$custom-light: #a595f1;
$custom-dark: #000000;
JSON
{
  "hex": "#766bea",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 245.197,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.18525,
    "h": 283.2
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#766BEA
secondary
#E9EDC4
accent
#D70EC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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