#7C7CF5#7C7CF5

#7C7CF5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.176 H 280.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7C7CF5
RGBrgb(124, 124, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 49%, 96%)
CMYKcmyk(49.4%, 49.4%, 0%, 3.9%)
CIE-LABlab(57.36, 31.62, -60.91)
CIE-LCHlch(57.36, 68.63, 297.44°)
OKLaboklab(64.49% 0.0314 -0.1735)
OKLCHoklch(64.49% 0.176 280.3)
XYZxyz(31.9962, 25.2912, 89.5642)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7CF5 #F5F57C
analogous
#7CB9F5 #7C7CF5 #B97CF5
triadic
#7C7CF5 #F57C7C #7CF57C
tetradic
#7C7CF5 #F57CB9 #F5F57C #7CF5B9
square
#7C7CF5 #F57CB9 #F5F57C #7CF5B9
split-complementary
#7C7CF5 #F5B97C #B9F57C
monochromatic
#1111E5 #4343F1 #7C7CF5 #B5B5F9 #E3E3FD

Accessibility & contrast

On white

3.47
#7C7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7C7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7CF5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7CF5#FFFFFF#000000##000000
##7C7CF51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#4D96AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7cf5;
/* rgb */ color: rgb(124, 124, 245);
/* oklch */ color: oklch(64.5% 0.176 280.3);
Tailwind
colors: {
  custom: {
    50: '#a9a2f9',
    500: '#7c7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7c7cf5;
$custom-light: #a9a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7cf5",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64486,
    "c": 0.17633,
    "h": 280.3
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

primary
#7C7CF5
secondary
#F5F5D6
accent
#E203E2
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7C7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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