#766FEF#766FEF

#766FEF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.187 H 281.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#766FEF
RGBrgb(118, 111, 239)
HSLhsl(243, 80%, 69%)
HSVhsv(243, 54%, 94%)
CMYKcmyk(50.6%, 53.6%, 0%, 6.3%)
CIE-LABlab(53.44, 36.26, -63.90)
CIE-LCHlch(53.44, 73.47, 299.57°)
OKLaboklab(61.32% 0.0383 -0.1825)
OKLCHoklch(61.32% 0.187 281.8)
XYZxyz(28.7309, 21.4508, 84.2711)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FEF #E8EF6F
analogous
#6FA8EF #766FEF #B66FEF
triadic
#766FEF #EF766F #6FEF76
tetradic
#766FEF #EF6FA8 #E8EF6F #6FEFB6
square
#766FEF #EF6FA8 #E8EF6F #6FEFB6
split-complementary
#766FEF #EFB66F #A8EF6F
monochromatic
#2117CD #4238E9 #766FEF #AAA6F5 #DFDDFB

Accessibility & contrast

On white

3.97
#766FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#766FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FEF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FEF#FFFFFF#000000##000000
##766FEF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#137BEC
Tritanopia (blue-blind)
#468CA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766fef;
/* rgb */ color: rgb(118, 111, 239);
/* oklch */ color: oklch(61.3% 0.187 281.8);
Tailwind
colors: {
  custom: {
    50: '#a598f5',
    500: '#766fef',
    950: '#000000',
  },
}
SCSS
$custom: #766fef;
$custom-light: #a598f5;
$custom-dark: #000000;
JSON
{
  "hex": "#766fef",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 243.281,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.18652,
    "h": 281.8
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#766FEF
secondary
#EEF0CA
accent
#DC09D1
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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