#7A7AAA#7A7AAA

#7A7AAA is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.8% C 0.073 H 284.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7A7AAA
RGBrgb(122, 122, 170)
HSLhsl(240, 22%, 57%)
HSVhsv(240, 28%, 67%)
CMYKcmyk(28.2%, 28.2%, 0%, 33.3%)
CIE-LABlab(52.90, 11.10, -25.50)
CIE-LCHlch(52.90, 27.81, 293.53°)
OKLaboklab(59.82% 0.0176 -0.0705)
OKLCHoklch(59.82% 0.073 284)
XYZxyz(22.2394, 20.9584, 40.8961)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7AAA #AAAA7A
analogous
#7A92AA #7A7AAA #927AAA
triadic
#7A7AAA #AA7A7A #7AAA7A
tetradic
#7A7AAA #AA7A92 #AAAA7A #7AAA92
square
#7A7AAA #AA7A92 #AAAA7A #7AAA92
split-complementary
#7A7AAA #AA927A #92AA7A
monochromatic
#424267 #5A5A8D #7A7AAA #9F9FC2 #C5C5DA

Accessibility & contrast

On white

4.04
#7A7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7A7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7AAA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7AAA#FFFFFF#000000##000000
##7A7AAA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#6F838B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a7aaa;
/* rgb */ color: rgb(122, 122, 170);
/* oklch */ color: oklch(59.8% 0.073 284.0);
Tailwind
colors: {
  custom: {
    50: '#a1a0c3',
    500: '#7a7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7a7aaa;
$custom-light: #a1a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7aaa",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.0727,
    "h": 284
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#7A7AAA
secondary
#CACAB6
accent
#BF69BF
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7A7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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