#7F78EB#7F78EB

#7F78EB is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.4% C 0.168 H 283.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7F78EB
RGBrgb(127, 120, 235)
HSLhsl(244, 74%, 70%)
HSVhsv(244, 49%, 92%)
CMYKcmyk(46%, 48.9%, 0%, 7.8%)
CIE-LABlab(56.03, 31.69, -57.48)
CIE-LCHlch(56.03, 65.63, 298.87°)
OKLaboklab(63.36% 0.0385 -0.1634)
OKLCHoklch(63.36% 0.168 283.3)
XYZxyz(30.4598, 23.9417, 81.5974)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78EB #E4EB78
analogous
#78ABEB #7F78EB #B978EB
triadic
#7F78EB #EB7F78 #78EB7F
tetradic
#7F78EB #EB78AB #E4EB78 #78EBB9
square
#7F78EB #EB78AB #E4EB78 #78EBB9
split-complementary
#7F78EB #EBB978 #ABEB78
monochromatic
#291ECB #4C43E3 #7F78EB #B2ADF3 #E4E3FB

Accessibility & contrast

On white

3.63
#7F78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7F78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78EB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78EB#FFFFFF#000000##000000
##7F78EB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#3F83E8
Tritanopia (blue-blind)
#5B90A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7f78eb;
/* rgb */ color: rgb(127, 120, 235);
/* oklch */ color: oklch(63.4% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#aa9ff2',
    500: '#7f78eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f78eb;
$custom-light: #aa9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78eb",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 243.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.16784,
    "h": 283.3
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

primary
#7F78EB
secondary
#EEF0CF
accent
#D60FCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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