#7791F7#7791F7

#7791F7 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.3% C 0.153 H 271.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7791F7
RGBrgb(119, 145, 247)
HSLhsl(228, 89%, 72%)
HSVhsv(228, 52%, 97%)
CMYKcmyk(51.8%, 41.3%, 0%, 3.1%)
CIE-LABlab(62.41, 18.74, -53.97)
CIE-LCHlch(62.41, 57.13, 289.15°)
OKLaboklab(68.28% 0.0029 -0.1531)
OKLCHoklch(68.28% 0.153 271.1)
XYZxyz(34.5162, 30.8858, 92.1204)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791F7 #F7DD77
analogous
#77D1F7 #7791F7 #9D77F7
triadic
#7791F7 #F77791 #91F777
tetradic
#7791F7 #F777D1 #F7DD77 #77F79D
square
#7791F7 #F777D1 #F7DD77 #77F79D
split-complementary
#7791F7 #F79D77 #D1F777
monochromatic
#0E3AE6 #3D62F4 #7791F7 #B1C0FA #E2E8FD

Accessibility & contrast

On white

2.93
#7791F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7791F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7791F7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791F7#FFFFFF#000000##000000
##7791F71.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#3BA7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7791f7;
/* rgb */ color: rgb(119, 145, 247);
/* oklch */ color: oklch(68.3% 0.153 271.1);
Tailwind
colors: {
  custom: {
    50: '#a6b0fa',
    500: '#7791f7',
    950: '#000000',
  },
}
SCSS
$custom: #7791f7;
$custom-light: #a6b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7791f7",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 227.813,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.15312,
    "h": 271.1
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#7791F7
secondary
#F5EFD5
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7791F7

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

Preview Lab → · Contrast checker → · Palette generator →

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