#7F78CA#7F78CA

#7F78CA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.122 H 286.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F78CA
RGBrgb(127, 120, 202)
HSLhsl(245, 44%, 63%)
HSVhsv(245, 41%, 79%)
CMYKcmyk(37.1%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.25, 22.31, -41.73)
CIE-LCHlch(54.25, 47.32, 298.13°)
OKLaboklab(61.43% 0.0339 -0.1173)
OKLCHoklch(61.43% 0.122 286.1)
XYZxyz(26.1266, 22.2084, 58.7757)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78CA #C3CA78
analogous
#789ACA #7F78CA #A878CA
triadic
#7F78CA #CA7F78 #78CA7F
tetradic
#7F78CA #CA789A #C3CA78 #78CAA8
square
#7F78CA #CA789A #C3CA78 #78CAA8
split-complementary
#7F78CA #CAA878 #9ACA78
monochromatic
#40388F #554CB9 #7F78CA #A9A4DB #D2D0ED

Accessibility & contrast

On white

3.86
#7F78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7F78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78CA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78CA#FFFFFF#000000##000000
##7F78CA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#6B8897
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f78ca;
/* rgb */ color: rgb(127, 120, 202);
/* oklch */ color: oklch(61.4% 0.122 286.1);
Tailwind
colors: {
  custom: {
    50: '#a79fda',
    500: '#7f78ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f78ca;
$custom-light: #a79fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78ca",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 245.122,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.12209,
    "h": 286.1
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#7F78CA
secondary
#DBDEC0
accent
#B72FAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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