#7C7DF7#7C7DF7

#7C7DF7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.8% C 0.178 H 279.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7C7DF7
RGBrgb(124, 125, 247)
HSLhsl(240, 88%, 73%)
HSVhsv(240, 50%, 97%)
CMYKcmyk(49.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(57.72, 31.63, -61.44)
CIE-LCHlch(57.72, 69.11, 297.24°)
OKLaboklab(64.8% 0.0305 -0.1751)
OKLCHoklch(64.8% 0.178 279.9)
XYZxyz(32.4291, 25.6659, 91.2229)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DF7 #F7F67C
analogous
#7CBBF7 #7C7DF7 #B87CF7
triadic
#7C7DF7 #F77C7D #7DF77C
tetradic
#7C7DF7 #F77CBB #F7F67C #7CF7B8
square
#7C7DF7 #F77CBB #F7F67C #7CF7B8
split-complementary
#7C7DF7 #F7B87C #BBF77C
monochromatic
#0E10EA #4244F3 #7C7DF7 #B6B6FB #E2E2FD

Accessibility & contrast

On white

3.42
#7C7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7C7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DF7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DF7#FFFFFF#000000##000000
##7C7DF71.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#4B98AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7df7;
/* rgb */ color: rgb(124, 125, 247);
/* oklch */ color: oklch(64.8% 0.178 279.9);
Tailwind
colors: {
  custom: {
    50: '#a9a2fa',
    500: '#7c7df7',
    950: '#000000',
  },
}
SCSS
$custom: #7c7df7;
$custom-light: #a9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7df7",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 239.512,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.1777,
    "h": 279.9
  },
  "luminance": 0.25668
}

Semantic roles & 50–950 ramp

primary
#7C7DF7
secondary
#F5F5D6
accent
#E300E5
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7C7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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