#766EF2#766EF2

#766EF2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.4% C 0.192 H 281.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#766EF2
RGBrgb(118, 110, 242)
HSLhsl(244, 84%, 69%)
HSVhsv(244, 55%, 95%)
CMYKcmyk(51.2%, 54.5%, 0%, 5.1%)
CIE-LABlab(53.40, 37.75, -65.64)
CIE-LCHlch(53.40, 75.72, 299.90°)
OKLaboklab(61.35% 0.0395 -0.1877)
OKLCHoklch(61.35% 0.192 281.9)
XYZxyz(29.0693, 21.4126, 86.5885)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EF2 #EAF26E
analogous
#6EA8F2 #766EF2 #B86EF2
triadic
#766EF2 #F2766E #6EF276
tetradic
#766EF2 #F26EA8 #EAF26E #6EF2B8
square
#766EF2 #F26EA8 #EAF26E #6EF2B8
split-complementary
#766EF2 #F2B86E #A8F26E
monochromatic
#1F13D3 #4136ED #766EF2 #ABA6F7 #E0DEFC

Accessibility & contrast

On white

3.98
#766EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#766EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766EF2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EF2#FFFFFF#000000##000000
##766EF21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#438CA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766ef2;
/* rgb */ color: rgb(118, 110, 242);
/* oklch */ color: oklch(61.4% 0.192 281.9);
Tailwind
colors: {
  custom: {
    50: '#a698f7',
    500: '#766ef2',
    950: '#000000',
  },
}
SCSS
$custom: #766ef2;
$custom-light: #a698f7;
$custom-dark: #000000;
JSON
{
  "hex": "#766ef2",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 243.636,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.19177,
    "h": 281.9
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#766EF2
secondary
#EFF1CB
accent
#E006D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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