#7879FF#7879FF

#7879FF is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.3% C 0.194 H 279.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7879FF
RGBrgb(120, 121, 255)
HSLhsl(240, 100%, 74%)
HSVhsv(240, 53%, 100%)
CMYKcmyk(52.9%, 52.5%, 0%, 0%)
CIE-LABlab(56.96, 35.59, -67.09)
CIE-LCHlch(56.96, 75.94, 297.95°)
OKLaboklab(64.31% 0.0308 -0.1918)
OKLCHoklch(64.31% 0.194 279.1)
XYZxyz(32.6275, 24.8858, 97.6725)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879FF #FFFE78
analogous
#78BCFF #7879FF #BA78FF
triadic
#7879FF #FF7879 #79FF78
tetradic
#7879FF #FF78BC #FFFE78 #78FFBA
square
#7879FF #FF78BC #FFFE78 #78FFBA
split-complementary
#7879FF #FFBA78 #BCFF78
monochromatic
#0002FD #3B3CFF #7879FF #B5B6FF #E0E1FF

Accessibility & contrast

On white

3.51
#7879FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7879FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879FF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879FF#FFFFFF#000000##000000
##7879FF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#1183FC
Tritanopia (blue-blind)
#3A97B1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7879ff;
/* rgb */ color: rgb(120, 121, 255);
/* oklch */ color: oklch(64.3% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#a89fff',
    500: '#7879ff',
    950: '#000000',
  },
}
SCSS
$custom: #7879ff;
$custom-light: #a89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7879ff",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 239.556,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.19424,
    "h": 279.1
  },
  "luminance": 0.24888
}

Semantic roles & 50–950 ramp

primary
#7879FF
secondary
#F7F7D4
accent
#E400E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7879FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7879FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva