#7F78EF#7F78EF

#7F78EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.173 H 283.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7F78EF
RGBrgb(127, 120, 239)
HSLhsl(244, 79%, 70%)
HSVhsv(244, 50%, 94%)
CMYKcmyk(46.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(56.26, 32.86, -59.33)
CIE-LCHlch(56.26, 67.82, 298.98°)
OKLaboklab(63.61% 0.0388 -0.1688)
OKLCHoklch(63.61% 0.173 283)
XYZxyz(31.0442, 24.1755, 84.6752)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78EF #E8EF78
analogous
#78ADEF #7F78EF #BA78EF
triadic
#7F78EF #EF7F78 #78EF7F
tetradic
#7F78EF #EF78AD #E8EF78 #78EFBA
square
#7F78EF #EF78AD #E8EF78 #78EFBA
split-complementary
#7F78EF #EFBA78 #ADEF78
monochromatic
#2419D4 #4B41E9 #7F78EF #B3AFF5 #E5E4FC

Accessibility & contrast

On white

3.60
#7F78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7F78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78EF#FFFFFF#000000##000000
##7F78EF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#5892A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7f78ef;
/* rgb */ color: rgb(127, 120, 239);
/* oklch */ color: oklch(63.6% 0.173 283.0);
Tailwind
colors: {
  custom: {
    50: '#aa9ff5',
    500: '#7f78ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f78ef;
$custom-light: #aa9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78ef",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 243.529,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63606,
    "c": 0.17322,
    "h": 283
  },
  "luminance": 0.24177
}

Semantic roles & 50–950 ramp

primary
#7F78EF
secondary
#F0F2D1
accent
#DB0ACF
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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