#7B7AB3#7B7AB3

#7B7AB3 is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.3% C 0.086 H 284.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B7AB3
RGBrgb(123, 122, 179)
HSLhsl(241, 27%, 59%)
HSVhsv(241, 32%, 70%)
CMYKcmyk(31.3%, 31.8%, 0%, 29.8%)
CIE-LABlab(53.37, 13.76, -29.97)
CIE-LCHlch(53.37, 32.98, 294.66°)
OKLaboklab(60.32% 0.0213 -0.0833)
OKLCHoklch(60.32% 0.086 284.3)
XYZxyz(23.2624, 21.3841, 45.5410)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AB3 #B2B37A
analogous
#7A96B3 #7B7AB3 #987AB3
triadic
#7B7AB3 #B37B7A #7AB37B
tetradic
#7B7AB3 #B37A96 #B2B37A #7AB398
square
#7B7AB3 #B37A96 #B2B37A #7AB398
split-complementary
#7B7AB3 #B3987A #96B37A
monochromatic
#424172 #585799 #7B7AB3 #A2A1C9 #C8C8E0

Accessibility & contrast

On white

3.98
#7B7AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7B7AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AB3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AB3#FFFFFF#000000##000000
##7B7AB31.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#6D848E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b7ab3;
/* rgb */ color: rgb(123, 122, 179);
/* oklch */ color: oklch(60.3% 0.086 284.3);
Tailwind
colors: {
  custom: {
    50: '#a2a0ca',
    500: '#7b7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ab3;
$custom-light: #a2a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ab3",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 241.053,
    "s": 27.273,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.08601,
    "h": 284.3
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#7B7AB3
secondary
#CFD0B9
accent
#C464C2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7B7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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