#7C7DEB#7C7DEB

#7C7DEB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.161 H 280.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7C7DEB
RGBrgb(124, 125, 235)
HSLhsl(239, 74%, 70%)
HSVhsv(239, 47%, 92%)
CMYKcmyk(47.2%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.03, 28.06, -55.90)
CIE-LCHlch(57.03, 62.54, 296.66°)
OKLaboklab(64.05% 0.0292 -0.1588)
OKLCHoklch(64.05% 0.161 280.4)
XYZxyz(30.6366, 24.9489, 81.7825)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DEB #EBEA7C
analogous
#7CB5EB #7C7DEB #B27CEB
triadic
#7C7DEB #EB7C7D #7DEB7C
tetradic
#7C7DEB #EB7CB5 #EBEA7C #7CEBB2
square
#7C7DEB #EB7CB5 #EBEA7C #7CEBB2
split-complementary
#7C7DEB #EBB27C #B5EB7C
monochromatic
#1F21CD #4748E3 #7C7DEB #B1B2F3 #E4E5FB

Accessibility & contrast

On white

3.51
#7C7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7C7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DEB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DEB#FFFFFF#000000##000000
##7C7DEB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#5494A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c7deb;
/* rgb */ color: rgb(124, 125, 235);
/* oklch */ color: oklch(64.0% 0.161 280.4);
Tailwind
colors: {
  custom: {
    50: '#a8a2f2',
    500: '#7c7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7c7deb;
$custom-light: #a8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7deb",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 239.459,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.16144,
    "h": 280.4
  },
  "luminance": 0.2495
}

Semantic roles & 50–950 ramp

primary
#7C7DEB
secondary
#F1F0D2
accent
#D410D6
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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