#7C7DFD#7C7DFD

#7C7DFD is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.2% C 0.186 H 279.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C7DFD
RGBrgb(124, 125, 253)
HSLhsl(240, 97%, 74%)
HSVhsv(240, 51%, 99%)
CMYKcmyk(51%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.08, 33.43, -64.18)
CIE-LCHlch(58.08, 72.36, 297.52°)
OKLaboklab(65.18% 0.0309 -0.1831)
OKLCHoklch(65.18% 0.186 279.6)
XYZxyz(33.3699, 26.0422, 96.1777)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DFD #FDFC7C
analogous
#7CBEFD #7C7DFD #BC7CFD
triadic
#7C7DFD #FD7C7D #7DFD7C
tetradic
#7C7DFD #FD7CBE #FDFC7C #7CFDBC
square
#7C7DFD #FD7CBE #FDFC7C #7CFDBC
split-complementary
#7C7DFD #FDBC7C #BEFD7C
monochromatic
#0406FB #4041FC #7C7DFD #B8B9FE #E1E1FF

Accessibility & contrast

On white

3.38
#7C7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7C7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DFD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DFD#FFFFFF#000000##000000
##7C7DFD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#2D87FA
Tritanopia (blue-blind)
#4699B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c7dfd;
/* rgb */ color: rgb(124, 125, 253);
/* oklch */ color: oklch(65.2% 0.186 279.6);
Tailwind
colors: {
  custom: {
    50: '#aaa2ff',
    500: '#7c7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7c7dfd;
$custom-light: #aaa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7dfd",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 239.535,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.1857,
    "h": 279.6
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#7C7DFD
secondary
#F7F7D4
accent
#E400E6
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7C7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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