#7C7AAA#7C7AAA

#7C7AAA is a mid, moderate blue. Relative luminance 0.211; OKLCH L 60.0% C 0.073 H 285.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7C7AAA
RGBrgb(124, 122, 170)
HSLhsl(243, 22%, 57%)
HSVhsv(243, 28%, 67%)
CMYKcmyk(27.1%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.07, 11.73, -25.24)
CIE-LCHlch(53.07, 27.83, 294.92°)
OKLaboklab(59.98% 0.0199 -0.0698)
OKLCHoklch(59.98% 0.073 285.9)
XYZxyz(22.5256, 21.1060, 40.9095)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7AAA #A8AA7A
analogous
#7A90AA #7C7AAA #947AAA
triadic
#7C7AAA #AA7C7A #7AAA7C
tetradic
#7C7AAA #AA7A90 #A8AA7A #7AAA94
square
#7C7AAA #AA7A90 #A8AA7A #7AAA94
split-complementary
#7C7AAA #AA947A #90AA7A
monochromatic
#444267 #5C5A8D #7C7AAA #A19FC2 #C6C5DA

Accessibility & contrast

On white

4.02
#7C7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7C7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7AAA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7AAA#FFFFFF#000000##000000
##7C7AAA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7aaa;
/* rgb */ color: rgb(124, 122, 170);
/* oklch */ color: oklch(60.0% 0.073 285.9);
Tailwind
colors: {
  custom: {
    50: '#a3a0c3',
    500: '#7c7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7c7aaa;
$custom-light: #a3a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7aaa",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 242.5,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.07254,
    "h": 285.9
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#7C7AAA
secondary
#C9CAB6
accent
#BF69BB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7C7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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