#7D78CF#7D78CF

#7D78CF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.129 H 284.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D78CF
RGBrgb(125, 120, 207)
HSLhsl(243, 48%, 64%)
HSVhsv(243, 42%, 81%)
CMYKcmyk(39.6%, 42%, 0%, 18.8%)
CIE-LABlab(54.34, 23.18, -44.43)
CIE-LCHlch(54.34, 50.11, 297.55°)
OKLaboklab(61.54% 0.0325 -0.1252)
OKLCHoklch(61.54% 0.129 284.5)
XYZxyz(26.4332, 22.2969, 61.9304)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D78CF #CACF78
analogous
#789FCF #7D78CF #A978CF
triadic
#7D78CF #CF7D78 #78CF7D
tetradic
#7D78CF #CF789F #CACF78 #78CFA9
square
#7D78CF #CF789F #CACF78 #78CFA9
split-complementary
#7D78CF #CFA978 #9FCF78
monochromatic
#3B3697 #524BBF #7D78CF #A8A5DF #D4D2EF

Accessibility & contrast

On white

3.85
#7D78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7D78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D78CF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D78CF#FFFFFF#000000##000000
##7D78CF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#668999
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d78cf;
/* rgb */ color: rgb(125, 120, 207);
/* oklch */ color: oklch(61.5% 0.129 284.5);
Tailwind
colors: {
  custom: {
    50: '#a69fde',
    500: '#7d78cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d78cf;
$custom-light: #a69fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d78cf",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 243.448,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.12936,
    "h": 284.5
  },
  "luminance": 0.22298
}

Semantic roles & 50–950 ramp

primary
#7D78CF
secondary
#DFE1C2
accent
#BB2BB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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