#7A78CD#7A78CD

#7A78CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.127 H 283.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7A78CD
RGBrgb(122, 120, 205)
HSLhsl(241, 46%, 64%)
HSVhsv(241, 41%, 80%)
CMYKcmyk(40.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(54.00, 21.83, -43.85)
CIE-LCHlch(54.00, 48.98, 296.47°)
OKLaboklab(61.19% 0.0287 -0.1236)
OKLCHoklch(61.19% 0.127 283.1)
XYZxyz(25.7588, 21.9773, 60.6306)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78CD #CBCD78
analogous
#78A0CD #7A78CD #A478CD
triadic
#7A78CD #CD7A78 #78CD7A
tetradic
#7A78CD #CD78A0 #CBCD78 #78CDA4
square
#7A78CD #CD78A0 #CBCD78 #78CDA4
split-complementary
#7A78CD #CDA478 #A0CD78
monochromatic
#393794 #4E4BBC #7A78CD #A6A5DE #D2D1EE

Accessibility & contrast

On white

3.89
#7A78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7A78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78CD#FFFFFF#000000##000000
##7A78CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#618999
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a78cd;
/* rgb */ color: rgb(122, 120, 205);
/* oklch */ color: oklch(61.2% 0.127 283.1);
Tailwind
colors: {
  custom: {
    50: '#a49fdc',
    500: '#7a78cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a78cd;
$custom-light: #a49fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78cd",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 241.412,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.12686,
    "h": 283.1
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#7A78CD
secondary
#DFDFC1
accent
#B92CB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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