#7C7DF5#7C7DF5

#7C7DF5 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.175 H 280.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C7DF5
RGBrgb(124, 125, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 49%, 96%)
CMYKcmyk(49.4%, 49%, 0%, 3.9%)
CIE-LABlab(57.60, 31.03, -60.52)
CIE-LCHlch(57.60, 68.02, 297.15°)
OKLaboklab(64.67% 0.0303 -0.1724)
OKLCHoklch(64.67% 0.175 280)
XYZxyz(32.1222, 25.5431, 89.6062)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DF5 #F5F47C
analogous
#7CBAF5 #7C7DF5 #B77CF5
triadic
#7C7DF5 #F57C7D #7DF57C
tetradic
#7C7DF5 #F57CBA #F5F47C #7CF5B7
square
#7C7DF5 #F57CBA #F5F47C #7CF5B7
split-complementary
#7C7DF5 #F5B77C #BAF57C
monochromatic
#1113E5 #4345F1 #7C7DF5 #B5B5F9 #E3E3FD

Accessibility & contrast

On white

3.44
#7C7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DF5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DF5#FFFFFF#000000##000000
##7C7DF51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#4D97AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7df5;
/* rgb */ color: rgb(124, 125, 245);
/* oklch */ color: oklch(64.7% 0.175 280.0);
Tailwind
colors: {
  custom: {
    50: '#a9a2f9',
    500: '#7c7df5',
    950: '#000000',
  },
}
SCSS
$custom: #7c7df5;
$custom-light: #a9a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7df5",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 239.504,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.17501,
    "h": 280
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#7C7DF5
secondary
#F5F5D6
accent
#E003E2
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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