#766AED#766AED

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

Color values

HEX#766AED
RGBrgb(118, 106, 237)
HSLhsl(245, 78%, 67%)
HSVhsv(245, 55%, 93%)
CMYKcmyk(50.2%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.14, 38.60, -64.88)
CIE-LCHlch(52.14, 75.49, 300.75°)
OKLaboklab(60.32% 0.0436 -0.1854)
OKLCHoklch(60.32% 0.19 283.2)
XYZxyz(27.9067, 20.2726, 82.5469)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AED #E1ED6A
analogous
#6AA0ED #766AED #B76AED
triadic
#766AED #ED766A #6AED76
tetradic
#766AED #ED6AA0 #E1ED6A #6AEDB7
square
#766AED #ED6AA0 #E1ED6A #6AEDB7
split-complementary
#766AED #EDB76A #A0ED6A
monochromatic
#2818C5 #4433E6 #766AED #A8A1F4 #DAD7FA

Accessibility & contrast

On white

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

On black

5.05
#766AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AED#FFFFFF#000000##000000
##766AED1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1181F1
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#4888A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #766aed;
/* rgb */ color: rgb(118, 106, 237);
/* oklch */ color: oklch(60.3% 0.190 283.2);
Tailwind
colors: {
  custom: {
    50: '#a695f4',
    500: '#766aed',
    950: '#000000',
  },
}
SCSS
$custom: #766aed;
$custom-light: #a695f4;
$custom-dark: #000000;
JSON
{
  "hex": "#766aed",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 245.496,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.19049,
    "h": 283.2
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#766AED
secondary
#EAEEC5
accent
#DB0BC8
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766AED

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

Preview Lab → · Contrast checker → · Palette generator →

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