#7787F1#7787F1

#7787F1 is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.0% C 0.158 H 274.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7787F1
RGBrgb(119, 135, 241)
HSLhsl(232, 81%, 71%)
HSVhsv(232, 51%, 95%)
CMYKcmyk(50.6%, 44%, 0%, 5.5%)
CIE-LABlab(59.52, 22.82, -55.26)
CIE-LCHlch(59.52, 59.78, 292.44°)
OKLaboklab(65.97% 0.0131 -0.1569)
OKLCHoklch(65.97% 0.158 274.8)
XYZxyz(32.1439, 27.5987, 86.8353)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7787F1 #F1E177
analogous
#77C4F1 #7787F1 #A477F1
triadic
#7787F1 #F17787 #87F177
tetradic
#7787F1 #F177C4 #F1E177 #77F1A4
square
#7787F1 #F177C4 #F1E177 #77F1A4
split-complementary
#7787F1 #F1A477 #C4F177
monochromatic
#1630D7 #4056EB #7787F1 #AEB8F7 #E3E7FC

Accessibility & contrast

On white

3.22
#7787F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7787F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7787F1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7787F1#FFFFFF#000000##000000
##7787F11.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F5
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#439EB0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7787f1;
/* rgb */ color: rgb(119, 135, 241);
/* oklch */ color: oklch(66.0% 0.158 274.8);
Tailwind
colors: {
  custom: {
    50: '#a5a9f6',
    500: '#7787f1',
    950: '#000000',
  },
}
SCSS
$custom: #7787f1;
$custom-light: #a5a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7787f1",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 232.131,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.1575,
    "h": 274.8
  },
  "luminance": 0.27601
}

Semantic roles & 50–950 ramp

primary
#7787F1
secondary
#F2EED1
accent
#C208DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7787F1

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

Preview Lab → · Contrast checker → · Palette generator →

#7787F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva