#7A7FAC#7A7FAC

#7A7FAC is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.0% C 0.068 H 279.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A7FAC
RGBrgb(122, 127, 172)
HSLhsl(234, 23%, 58%)
HSVhsv(234, 29%, 67%)
CMYKcmyk(29.1%, 26.2%, 0%, 32.5%)
CIE-LABlab(54.34, 8.67, -24.44)
CIE-LCHlch(54.34, 25.93, 289.52°)
OKLaboklab(60.96% 0.011 -0.0675)
OKLCHoklch(60.96% 0.068 279.2)
XYZxyz(23.0598, 22.2942, 42.1100)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FAC #ACA77A
analogous
#7A98AC #7A7FAC #8E7AAC
triadic
#7A7FAC #AC7A7F #7FAC7A
tetradic
#7A7FAC #AC7A98 #ACA77A #7AAC8E
square
#7A7FAC #AC7A98 #ACA77A #7AAC8E
split-complementary
#7A7FAC #AC8E7A #98AC7A
monochromatic
#42466A #595F8F #7A7FAC #A0A3C4 #C5C8DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7FAC#FFFFFF#000000##000000
##7A7FAC1.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)
#7284AE
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#6D878F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a7fac;
/* rgb */ color: rgb(122, 127, 172);
/* oklch */ color: oklch(61.0% 0.068 279.2);
Tailwind
colors: {
  custom: {
    50: '#a1a4c5',
    500: '#7a7fac',
    950: '#000000',
  },
}
SCSS
$custom: #7a7fac;
$custom-light: #a1a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7fac",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 234,
    "s": 23.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.06844,
    "h": 279.2
  },
  "luminance": 0.22295
}

Semantic roles & 50–950 ramp

primary
#7A7FAC
secondary
#CBC9B7
accent
#B768C0
background
#FAFAFC
surface
#F3F3F8
border
#CDCDD1
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7A7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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