#7C7FC7#7C7FC7

#7C7FC7 is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.4% C 0.108 H 281.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7C7FC7
RGBrgb(124, 127, 199)
HSLhsl(238, 40%, 63%)
HSVhsv(238, 38%, 78%)
CMYKcmyk(37.7%, 36.2%, 0%, 22%)
CIE-LABlab(55.67, 16.51, -37.80)
CIE-LCHlch(55.67, 41.25, 293.59°)
OKLaboklab(62.41% 0.0205 -0.1059)
OKLCHoklch(62.41% 0.108 281)
XYZxyz(26.2074, 23.5864, 57.1935)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7FC7 #C7C47C
analogous
#7CA4C7 #7C7FC7 #9E7CC7
triadic
#7C7FC7 #C77C7F #7FC77C
tetradic
#7C7FC7 #C77CA4 #C7C47C #7CC79E
square
#7C7FC7 #C77CA4 #C7C47C #7CC79E
split-complementary
#7C7FC7 #C79E7C #A4C77C
monochromatic
#3C3F8D #5155B5 #7C7FC7 #A7A9D9 #D2D3EC

Accessibility & contrast

On white

3.67
#7C7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7C7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7FC7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7FC7#FFFFFF#000000##000000
##7C7FC71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6888CA
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#678D9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c7fc7;
/* rgb */ color: rgb(124, 127, 199);
/* oklch */ color: oklch(62.4% 0.108 281.0);
Tailwind
colors: {
  custom: {
    50: '#a4a4d8',
    500: '#7c7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c7fc7;
$custom-light: #a4a4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7fc7",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 237.6,
    "s": 40.107,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62411,
    "c": 0.1079,
    "h": 281
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#7C7FC7
secondary
#DDDCC2
accent
#AE32B3
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #7C7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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