#7B78CA#7B78CA

#7B78CA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.122 H 283.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7B78CA
RGBrgb(123, 120, 202)
HSLhsl(242, 44%, 63%)
HSVhsv(242, 41%, 79%)
CMYKcmyk(39.1%, 40.6%, 0%, 20.8%)
CIE-LABlab(53.93, 21.24, -42.25)
CIE-LCHlch(53.93, 47.29, 296.69°)
OKLaboklab(61.11% 0.0293 -0.1189)
OKLCHoklch(61.11% 0.122 283.8)
XYZxyz(25.5425, 21.9072, 58.7484)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78CA #C7CA78
analogous
#789ECA #7B78CA #A478CA
triadic
#7B78CA #CA7B78 #78CA7B
tetradic
#7B78CA #CA789E #C7CA78 #78CAA4
square
#7B78CA #CA789E #C7CA78 #78CAA4
split-complementary
#7B78CA #CAA478 #9ECA78
monochromatic
#3B388F #504CB9 #7B78CA #A6A4DB #D1D0ED

Accessibility & contrast

On white

3.90
#7B78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7B78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78CA#FFFFFF#000000##000000
##7B78CA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#648897
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b78ca;
/* rgb */ color: rgb(123, 120, 202);
/* oklch */ color: oklch(61.1% 0.122 283.8);
Tailwind
colors: {
  custom: {
    50: '#a49fda',
    500: '#7b78ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b78ca;
$custom-light: #a49fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78ca",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 242.195,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.12245,
    "h": 283.8
  },
  "luminance": 0.21908
}

Semantic roles & 50–950 ramp

primary
#7B78CA
secondary
#DDDEC0
accent
#B72FB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7B78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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