#7F78EA#7F78EA

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

Color values

HEX#7F78EA
RGBrgb(127, 120, 234)
HSLhsl(244, 73%, 69%)
HSVhsv(244, 49%, 92%)
CMYKcmyk(45.7%, 48.7%, 0%, 8.2%)
CIE-LABlab(55.97, 31.40, -57.01)
CIE-LCHlch(55.97, 65.09, 298.85°)
OKLaboklab(63.29% 0.0384 -0.162)
OKLCHoklch(63.29% 0.166 283.3)
XYZxyz(30.3158, 23.8841, 80.8387)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78EA #E3EA78
analogous
#78AAEA #7F78EA #B878EA
triadic
#7F78EA #EA7F78 #78EA7F
tetradic
#7F78EA #EA78AA #E3EA78 #78EAB8
square
#7F78EA #EA78AA #E3EA78 #78EAB8
split-complementary
#7F78EA #EAB878 #AAEA78
monochromatic
#2A1FC8 #4D43E2 #7F78EA #B1ADF2 #E3E2FA

Accessibility & contrast

On white

3.64
#7F78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7F78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78EA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78EA#FFFFFF#000000##000000
##7F78EA1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#5B90A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7f78ea;
/* rgb */ color: rgb(127, 120, 234);
/* oklch */ color: oklch(63.3% 0.166 283.3);
Tailwind
colors: {
  custom: {
    50: '#aa9ff1',
    500: '#7f78ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f78ea;
$custom-light: #aa9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78ea",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 243.684,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63293,
    "c": 0.16649,
    "h": 283.3
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#7F78EA
secondary
#EDEFCE
accent
#D510C9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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