#7C7FC0#7C7FC0

#7C7FC0 is a light, moderate blue. Relative luminance 0.233; OKLCH L 62.1% C 0.098 H 281.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C7FC0
RGBrgb(124, 127, 192)
HSLhsl(237, 35%, 62%)
HSVhsv(237, 35%, 75%)
CMYKcmyk(35.4%, 33.9%, 0%, 24.7%)
CIE-LABlab(55.35, 14.58, -34.32)
CIE-LCHlch(55.35, 37.29, 293.02°)
OKLaboklab(62.06% 0.0188 -0.0959)
OKLCHoklch(62.06% 0.098 281.1)
XYZxyz(25.4133, 23.2687, 53.0113)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7FC0 #C0BD7C
analogous
#7CA1C0 #7C7FC0 #9B7CC0
triadic
#7C7FC0 #C07C7F #7FC07C
tetradic
#7C7FC0 #C07CA1 #C0BD7C #7CC09B
square
#7C7FC0 #C07CA1 #C0BD7C #7CC09B
split-complementary
#7C7FC0 #C09B7C #A1C07C
monochromatic
#3F4283 #5357AC #7C7FC0 #A5A7D4 #CFD0E8

Accessibility & contrast

On white

3.71
#7C7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7C7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7FC0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7FC0#FFFFFF#000000##000000
##7C7FC01.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B87C3
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#698B97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c7fc0;
/* rgb */ color: rgb(124, 127, 192);
/* oklch */ color: oklch(62.1% 0.098 281.1);
Tailwind
colors: {
  custom: {
    50: '#a4a4d3',
    500: '#7c7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7c7fc0;
$custom-light: #a4a4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7fc0",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 237.353,
    "s": 35.052,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.0977,
    "h": 281.1
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#7C7FC0
secondary
#D8D7BF
accent
#A938AE
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7C7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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