#7C7CA7#7C7CA7

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

Color values

HEX#7C7CA7
RGBrgb(124, 124, 167)
HSLhsl(240, 20%, 57%)
HSVhsv(240, 26%, 65%)
CMYKcmyk(25.7%, 25.7%, 0%, 34.5%)
CIE-LABlab(53.48, 9.78, -22.86)
CIE-LCHlch(53.48, 24.87, 293.17°)
OKLaboklab(60.26% 0.016 -0.063)
OKLCHoklch(60.26% 0.065 284.3)
XYZxyz(22.4931, 21.4899, 39.5146)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7CA7 #A7A77C
analogous
#7C92A7 #7C7CA7 #927CA7
triadic
#7C7CA7 #A77C7C #7CA77C
tetradic
#7C7CA7 #A77C92 #A7A77C #7CA792
square
#7C7CA7 #A77C92 #A7A77C #7CA792
split-complementary
#7C7CA7 #A7927C #92A77C
monochromatic
#444465 #5C5C89 #7C7CA7 #A1A1C0 #C5C5D8

Accessibility & contrast

On white

3.96
#7C7CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7C7CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7CA7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7CA7#FFFFFF#000000##000000
##7C7CA71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7181A9
Deuteranopia (green-blind)
#6F7EA6
Tritanopia (blue-blind)
#72838B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c7ca7;
/* rgb */ color: rgb(124, 124, 167);
/* oklch */ color: oklch(60.3% 0.065 284.3);
Tailwind
colors: {
  custom: {
    50: '#a2a1c1',
    500: '#7c7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ca7;
$custom-light: #a2a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ca7",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 19.635,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.06502,
    "h": 284.3
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#7C7CA7
secondary
#C8C8B7
accent
#BC6CBC
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0F12
muted
#7F7E81

Preview Lab

Preview with #7C7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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