#7892F7#7892F7

#7892F7 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.5% C 0.152 H 271.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7892F7
RGBrgb(120, 146, 247)
HSLhsl(228, 89%, 72%)
HSVhsv(228, 51%, 97%)
CMYKcmyk(51.4%, 40.9%, 0%, 3.1%)
CIE-LABlab(62.73, 18.37, -53.46)
CIE-LCHlch(62.73, 56.53, 288.97°)
OKLaboklab(68.54% 0.0028 -0.1516)
OKLCHoklch(68.54% 0.152 271.1)
XYZxyz(34.8077, 31.2639, 92.1780)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892F7 #F7DD78
analogous
#78D1F7 #7892F7 #9E78F7
triadic
#7892F7 #F77892 #92F778
tetradic
#7892F7 #F778D1 #F7DD78 #78F79E
square
#7892F7 #F778D1 #F7DD78 #78F79E
split-complementary
#7892F7 #F79E78 #D1F778
monochromatic
#0E3AE7 #3E63F4 #7892F7 #B2C1FA #E2E8FD

Accessibility & contrast

On white

2.90
#7892F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7892F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7892F7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892F7#FFFFFF#000000##000000
##7892F71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#3EA8B9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7892f7;
/* rgb */ color: rgb(120, 146, 247);
/* oklch */ color: oklch(68.5% 0.152 271.1);
Tailwind
colors: {
  custom: {
    50: '#a6b1fa',
    500: '#7892f7',
    950: '#000000',
  },
}
SCSS
$custom: #7892f7;
$custom-light: #a6b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7892f7",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 247
  },
  "hsl": {
    "h": 227.717,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68538,
    "c": 0.1516,
    "h": 271.1
  },
  "luminance": 0.31266
}

Semantic roles & 50–950 ramp

primary
#7892F7
secondary
#F5EFD5
accent
#B600E5
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7892F7

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

Preview Lab → · Contrast checker → · Palette generator →

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