#7E78FA#7E78FA

#7E78FA is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.2% C 0.188 H 281.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E78FA
RGBrgb(126, 120, 250)
HSLhsl(243, 93%, 73%)
HSVhsv(243, 52%, 98%)
CMYKcmyk(49.6%, 52%, 0%, 2%)
CIE-LABlab(56.85, 35.88, -64.49)
CIE-LCHlch(56.85, 73.80, 299.09°)
OKLaboklab(64.24% 0.0384 -0.184)
OKLCHoklch(64.24% 0.188 281.8)
XYZxyz(32.5707, 24.7689, 93.4886)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78FA #F4FA78
analogous
#78B3FA #7E78FA #BF78FA
triadic
#7E78FA #FA7E78 #78FA7E
tetradic
#7E78FA #FA78B3 #F4FA78 #78FABF
square
#7E78FA #FA78B3 #F4FA78 #78FABF
split-complementary
#7E78FA #FABF78 #B3FA78
monochromatic
#1309EF #463DF8 #7E78FA #B6B3FC #E3E1FE

Accessibility & contrast

On white

3.53
#7E78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#7E78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78FA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78FA#FFFFFF#000000##000000
##7E78FA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#2784F7
Tritanopia (blue-blind)
#4E95AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e78fa;
/* rgb */ color: rgb(126, 120, 250);
/* oklch */ color: oklch(64.2% 0.188 281.8);
Tailwind
colors: {
  custom: {
    50: '#ab9ffd',
    500: '#7e78fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e78fa;
$custom-light: #ab9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78fa",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 242.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.18797,
    "h": 281.8
  },
  "luminance": 0.24771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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