#7A78AA#7A78AA

#7A78AA is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.4% C 0.076 H 285.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A78AA
RGBrgb(122, 120, 170)
HSLhsl(242, 23%, 57%)
HSVhsv(242, 29%, 67%)
CMYKcmyk(28.2%, 29.4%, 0%, 33.3%)
CIE-LABlab(52.37, 12.29, -26.33)
CIE-LCHlch(52.37, 29.06, 295.02°)
OKLaboklab(59.4% 0.0205 -0.0729)
OKLCHoklch(59.4% 0.076 285.7)
XYZxyz(21.9963, 20.4723, 40.8151)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78AA #A8AA78
analogous
#788FAA #7A78AA #9378AA
triadic
#7A78AA #AA7A78 #78AA7A
tetradic
#7A78AA #AA788F #A8AA78 #78AA93
square
#7A78AA #AA788F #A8AA78 #78AA93
split-complementary
#7A78AA #AA9378 #8FAA78
monochromatic
#424167 #5A588C #7A78AA #9F9EC2 #C4C3D9

Accessibility & contrast

On white

4.12
#7A78AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7A78AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78AA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78AA#FFFFFF#000000##000000
##7A78AA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#697CA9
Tritanopia (blue-blind)
#6F818A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a78aa;
/* rgb */ color: rgb(122, 120, 170);
/* oklch */ color: oklch(59.4% 0.076 285.7);
Tailwind
colors: {
  custom: {
    50: '#a19ec3',
    500: '#7a78aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a78aa;
$custom-light: #a19ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78aa",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 242.4,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.07573,
    "h": 285.7
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#7A78AA
secondary
#C8C9B5
accent
#BF69BC
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7A78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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