#7C7CC5#7C7CC5

#7C7CC5 is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.7% C 0.109 H 282.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C7CC5
RGBrgb(124, 124, 197)
HSLhsl(240, 39%, 63%)
HSVhsv(240, 37%, 77%)
CMYKcmyk(37.1%, 37.1%, 0%, 22.7%)
CIE-LABlab(54.79, 17.73, -38.04)
CIE-LCHlch(54.79, 41.97, 295.00°)
OKLaboklab(61.71% 0.0241 -0.1066)
OKLCHoklch(61.71% 0.109 282.7)
XYZxyz(25.5950, 22.7307, 55.8514)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7CC5 #C5C57C
analogous
#7CA0C5 #7C7CC5 #A07CC5
triadic
#7C7CC5 #C57C7C #7CC57C
tetradic
#7C7CC5 #C57CA0 #C5C57C #7CC5A0
square
#7C7CC5 #C57CA0 #C5C57C #7CC5A0
split-complementary
#7C7CC5 #C5A07C #A0C57C
monochromatic
#3D3D8A #5252B2 #7C7CC5 #A6A6D8 #D1D1EB

Accessibility & contrast

On white

3.79
#7C7CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7C7CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7CC5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7CC5#FFFFFF#000000##000000
##7C7CC51.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6486C8
Deuteranopia (green-blind)
#6181C3
Tritanopia (blue-blind)
#688A97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c7cc5;
/* rgb */ color: rgb(124, 124, 197);
/* oklch */ color: oklch(61.7% 0.109 282.7);
Tailwind
colors: {
  custom: {
    50: '#a4a1d7',
    500: '#7c7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7c7cc5;
$custom-light: #a4a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7cc5",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 38.624,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.10931,
    "h": 282.7
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#7C7CC5
secondary
#DCDCC1
accent
#B234B2
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0F14
muted
#7F7E83

Preview Lab

Preview with #7C7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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