#7C7DF2#7C7DF2

#7C7DF2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.5% C 0.171 H 280.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7C7DF2
RGBrgb(124, 125, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 49%, 95%)
CMYKcmyk(48.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.43, 30.14, -59.14)
CIE-LCHlch(57.43, 66.38, 297.00°)
OKLaboklab(64.48% 0.03 -0.1683)
OKLCHoklch(64.48% 0.171 280.1)
XYZxyz(31.6679, 25.3614, 87.2138)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DF2 #F2F17C
analogous
#7CB8F2 #7C7DF2 #B67CF2
triadic
#7C7DF2 #F27C7D #7DF27C
tetradic
#7C7DF2 #F27CB8 #F2F17C #7CF2B6
square
#7C7DF2 #F27CB8 #F2F17C #7CF2B6
split-complementary
#7C7DF2 #F2B67C #B8F27C
monochromatic
#1618DE #4446EC #7C7DF2 #B4B4F8 #E3E3FC

Accessibility & contrast

On white

3.46
#7C7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7C7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DF2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DF2#FFFFFF#000000##000000
##7C7DF21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF6
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#4F96AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7df2;
/* rgb */ color: rgb(124, 125, 242);
/* oklch */ color: oklch(64.5% 0.171 280.1);
Tailwind
colors: {
  custom: {
    50: '#a9a2f7',
    500: '#7c7df2',
    950: '#000000',
  },
}
SCSS
$custom: #7c7df2;
$custom-light: #a9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7df2",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 239.492,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64481,
    "c": 0.17096,
    "h": 280.1
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#7C7DF2
secondary
#F4F4D6
accent
#DD07DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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