#7781F7#7781F7

#7781F7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.2% C 0.173 H 276.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7781F7
RGBrgb(119, 129, 247)
HSLhsl(235, 89%, 72%)
HSVhsv(235, 52%, 97%)
CMYKcmyk(51.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(58.35, 28.21, -60.44)
CIE-LCHlch(58.35, 66.70, 295.02°)
OKLaboklab(65.19% 0.0206 -0.1722)
OKLCHoklch(65.19% 0.173 276.8)
XYZxyz(32.2412, 26.3358, 91.3621)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7781F7 #F7ED77
analogous
#77C1F7 #7781F7 #AD77F7
triadic
#7781F7 #F77781 #81F777
tetradic
#7781F7 #F777C1 #F7ED77 #77F7AD
square
#7781F7 #F777C1 #F7ED77 #77F7AD
split-complementary
#7781F7 #F7AD77 #C1F777
monochromatic
#0E1EE6 #3D4BF4 #7781F7 #B1B7FA #E2E4FD

Accessibility & contrast

On white

3.35
#7781F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7781F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7781F7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7781F7#FFFFFF#000000##000000
##7781F71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#3C87F4
Tritanopia (blue-blind)
#3E9BB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7781f7;
/* rgb */ color: rgb(119, 129, 247);
/* oklch */ color: oklch(65.2% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#a6a5fa',
    500: '#7781f7',
    950: '#000000',
  },
}
SCSS
$custom: #7781f7;
$custom-light: #a6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7781f7",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 235.313,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.17344,
    "h": 276.8
  },
  "luminance": 0.26338
}

Semantic roles & 50–950 ramp

primary
#7781F7
secondary
#F5F3D5
accent
#D400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7781F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7781F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva