#7889F2#7889F2

#7889F2 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.5% C 0.156 H 274.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7889F2
RGBrgb(120, 137, 242)
HSLhsl(232, 82%, 71%)
HSVhsv(232, 50%, 95%)
CMYKcmyk(50.4%, 43.4%, 0%, 5.1%)
CIE-LABlab(60.15, 22.16, -54.80)
CIE-LCHlch(60.15, 59.11, 292.01°)
OKLaboklab(66.48% 0.0121 -0.1556)
OKLCHoklch(66.48% 0.156 274.4)
XYZxyz(32.7133, 28.2931, 87.7245)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7889F2 #F2E178
analogous
#78C6F2 #7889F2 #A478F2
triadic
#7889F2 #F27889 #89F278
tetradic
#7889F2 #F278C6 #F2E178 #78F2A4
square
#7889F2 #F278C6 #F2E178 #78F2A4
split-complementary
#7889F2 #F2A478 #C6F278
monochromatic
#1531DB #4058ED #7889F2 #B0BAF7 #E3E7FC

Accessibility & contrast

On white

3.15
#7889F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7889F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7889F2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7889F2#FFFFFF#000000##000000
##7889F21.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#518CF0
Tritanopia (blue-blind)
#44A0B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7889f2;
/* rgb */ color: rgb(120, 137, 242);
/* oklch */ color: oklch(66.5% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#a6abf7',
    500: '#7889f2',
    950: '#000000',
  },
}
SCSS
$custom: #7889f2;
$custom-light: #a6abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7889f2",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 231.639,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.15605,
    "h": 274.4
  },
  "luminance": 0.28295
}

Semantic roles & 50–950 ramp

primary
#7889F2
secondary
#F3EFD3
accent
#C107DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7889F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7889F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva