#7E78FC#7E78FC

#7E78FC is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.191 H 281.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7E78FC
RGBrgb(126, 120, 252)
HSLhsl(243, 96%, 73%)
HSVhsv(243, 52%, 99%)
CMYKcmyk(50%, 52.4%, 0%, 1.2%)
CIE-LABlab(56.97, 36.48, -65.39)
CIE-LCHlch(56.97, 74.88, 299.15°)
OKLaboklab(64.37% 0.0385 -0.1867)
OKLCHoklch(64.37% 0.191 281.7)
XYZxyz(32.8860, 24.8950, 95.1490)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78FC #F6FC78
analogous
#78B4FC #7E78FC #C078FC
triadic
#7E78FC #FC7E78 #78FC7E
tetradic
#7E78FC #FC78B4 #F6FC78 #78FCC0
square
#7E78FC #FC78B4 #F6FC78 #78FCC0
split-complementary
#7E78FC #FCC078 #B4FC78
monochromatic
#1005F4 #453CFB #7E78FC #B7B4FD #E2E1FE

Accessibility & contrast

On white

3.51
#7E78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7E78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78FC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78FC#FFFFFF#000000##000000
##7E78FC1.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)
#308DFF
Deuteranopia (green-blind)
#2284F9
Tritanopia (blue-blind)
#4D95AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e78fc;
/* rgb */ color: rgb(126, 120, 252);
/* oklch */ color: oklch(64.4% 0.191 281.7);
Tailwind
colors: {
  custom: {
    50: '#ab9ffe',
    500: '#7e78fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e78fc;
$custom-light: #ab9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78fc",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 242.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64371,
    "c": 0.1906,
    "h": 281.7
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#7E78FC
secondary
#F5F7D4
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E78FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7E78FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva