#7B7AAA#7B7AAA

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

Color values

HEX#7B7AAA
RGBrgb(123, 122, 170)
HSLhsl(241, 22%, 57%)
HSVhsv(241, 28%, 67%)
CMYKcmyk(27.6%, 28.2%, 0%, 33.3%)
CIE-LABlab(52.98, 11.41, -25.37)
CIE-LCHlch(52.98, 27.82, 294.22°)
OKLaboklab(59.9% 0.0187 -0.0702)
OKLCHoklch(59.9% 0.073 284.9)
XYZxyz(22.3818, 21.0318, 40.9027)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AAA #A9AA7A
analogous
#7A91AA #7B7AAA #937AAA
triadic
#7B7AAA #AA7B7A #7AAA7B
tetradic
#7B7AAA #AA7A91 #A9AA7A #7AAA93
square
#7B7AAA #AA7A91 #A9AA7A #7AAA93
split-complementary
#7B7AAA #AA937A #91AA7A
monochromatic
#434267 #5B5A8D #7B7AAA #A09FC2 #C5C5DA

Accessibility & contrast

On white

4.03
#7B7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7B7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AAA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AAA#FFFFFF#000000##000000
##7B7AAA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#6C7DA9
Tritanopia (blue-blind)
#70828B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b7aaa;
/* rgb */ color: rgb(123, 122, 170);
/* oklch */ color: oklch(59.9% 0.073 284.9);
Tailwind
colors: {
  custom: {
    50: '#a2a0c3',
    500: '#7b7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7b7aaa;
$custom-light: #a2a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7aaa",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 241.25,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.07261,
    "h": 284.9
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#7B7AAA
secondary
#C9CAB6
accent
#BF69BD
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7B7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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