#7D78CA#7D78CA

#7D78CA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.122 H 285.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D78CA
RGBrgb(125, 120, 202)
HSLhsl(244, 44%, 63%)
HSVhsv(244, 41%, 79%)
CMYKcmyk(38.1%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.09, 21.77, -41.99)
CIE-LCHlch(54.09, 47.30, 297.41°)
OKLaboklab(61.27% 0.0316 -0.1181)
OKLCHoklch(61.27% 0.122 285)
XYZxyz(25.8316, 22.0563, 58.7619)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D78CA #C5CA78
analogous
#789CCA #7D78CA #A678CA
triadic
#7D78CA #CA7D78 #78CA7D
tetradic
#7D78CA #CA789C #C5CA78 #78CAA6
square
#7D78CA #CA789C #C5CA78 #78CAA6
split-complementary
#7D78CA #CAA678 #9CCA78
monochromatic
#3E388F #534CB9 #7D78CA #A7A4DB #D2D0ED

Accessibility & contrast

On white

3.88
#7D78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7D78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D78CA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D78CA#FFFFFF#000000##000000
##7D78CA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#688897
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d78ca;
/* rgb */ color: rgb(125, 120, 202);
/* oklch */ color: oklch(61.3% 0.122 285.0);
Tailwind
colors: {
  custom: {
    50: '#a69fda',
    500: '#7d78ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d78ca;
$custom-light: #a69fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7d78ca",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 243.659,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.12225,
    "h": 285
  },
  "luminance": 0.22057
}

Semantic roles & 50–950 ramp

primary
#7D78CA
secondary
#DCDEC0
accent
#B72FAE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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