#7A78FC#7A78FC

#7A78FC is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.1% C 0.191 H 280.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A78FC
RGBrgb(122, 120, 252)
HSLhsl(241, 96%, 73%)
HSVhsv(241, 52%, 99%)
CMYKcmyk(51.6%, 52.4%, 0%, 1.2%)
CIE-LABlab(56.68, 35.67, -65.88)
CIE-LCHlch(56.68, 74.92, 298.43°)
OKLaboklab(64.08% 0.0339 -0.1882)
OKLCHoklch(64.08% 0.191 280.2)
XYZxyz(32.3078, 24.5969, 95.1219)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78FC #FAFC78
analogous
#78B8FC #7A78FC #BC78FC
triadic
#7A78FC #FC7A78 #78FC7A
tetradic
#7A78FC #FC78B8 #FAFC78 #78FCBC
square
#7A78FC #FC78B8 #FAFC78 #78FCBC
split-complementary
#7A78FC #FCBC78 #B8FC78
monochromatic
#0905F4 #3F3CFB #7A78FC #B5B4FD #E2E1FE

Accessibility & contrast

On white

3.55
#7A78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7A78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78FC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78FC#FFFFFF#000000##000000
##7A78FC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#1B83F9
Tritanopia (blue-blind)
#4396AF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a78fc;
/* rgb */ color: rgb(122, 120, 252);
/* oklch */ color: oklch(64.1% 0.191 280.2);
Tailwind
colors: {
  custom: {
    50: '#a99ffe',
    500: '#7a78fc',
    950: '#000000',
  },
}
SCSS
$custom: #7a78fc;
$custom-light: #a99ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78fc",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 240.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.19123,
    "h": 280.2
  },
  "luminance": 0.24599
}

Semantic roles & 50–950 ramp

primary
#7A78FC
secondary
#F6F7D4
accent
#E600E2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7A78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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