#7C7CF2#7C7CF2

#7C7CF2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.172 H 280.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7C7CF2
RGBrgb(124, 124, 242)
HSLhsl(240, 82%, 72%)
HSVhsv(240, 49%, 95%)
CMYKcmyk(48.8%, 48.8%, 0%, 5.1%)
CIE-LABlab(57.18, 30.73, -59.53)
CIE-LCHlch(57.18, 67.00, 297.30°)
OKLaboklab(64.3% 0.0311 -0.1695)
OKLCHoklch(64.3% 0.172 280.4)
XYZxyz(31.5419, 25.1095, 87.1718)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7CF2 #F2F27C
analogous
#7CB7F2 #7C7CF2 #B77CF2
triadic
#7C7CF2 #F27C7C #7CF27C
tetradic
#7C7CF2 #F27CB7 #F2F27C #7CF2B7
square
#7C7CF2 #F27CB7 #F2F27C #7CF2B7
split-complementary
#7C7CF2 #F2B77C #B7F27C
monochromatic
#1616DE #4444EC #7C7CF2 #B4B4F8 #E3E3FC

Accessibility & contrast

On white

3.49
#7C7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7C7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7CF2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7CF2#FFFFFF#000000##000000
##7C7CF21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#4F96AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c7cf2;
/* rgb */ color: rgb(124, 124, 242);
/* oklch */ color: oklch(64.3% 0.172 280.4);
Tailwind
colors: {
  custom: {
    50: '#a9a2f7',
    500: '#7c7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7c7cf2;
$custom-light: #a9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7cf2",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.1723,
    "h": 280.4
  },
  "luminance": 0.25111
}

Semantic roles & 50–950 ramp

primary
#7C7CF2
secondary
#F4F4D6
accent
#DE07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7C7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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