#7C8AFC#7C8AFC

#7C8AFC is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.167 H 275.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7C8AFC
RGBrgb(124, 138, 252)
HSLhsl(233, 96%, 74%)
HSVhsv(233, 51%, 99%)
CMYKcmyk(50.8%, 45.2%, 0%, 1.2%)
CIE-LABlab(61.21, 25.46, -58.61)
CIE-LCHlch(61.21, 63.90, 293.48°)
OKLaboklab(67.53% 0.0166 -0.1666)
OKLCHoklch(67.53% 0.167 275.7)
XYZxyz(34.9658, 29.4881, 95.9259)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AFC #FCEE7C
analogous
#7CCAFC #7C8AFC #AE7CFC
triadic
#7C8AFC #FC7C8A #8AFC7C
tetradic
#7C8AFC #FC7CCA #FCEE7C #7CFCAE
square
#7C8AFC #FC7CCA #FCEE7C #7CFCAE
split-complementary
#7C8AFC #FCAE7C #CAFC7C
monochromatic
#0620F8 #4055FB #7C8AFC #B8BFFD #E1E4FE

Accessibility & contrast

On white

3.04
#7C8AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#7C8AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AFC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AFC#FFFFFF#000000##000000
##7C8AFC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#45A3B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8afc;
/* rgb */ color: rgb(124, 138, 252);
/* oklch */ color: oklch(67.5% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9acfe',
    500: '#7c8afc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8afc;
$custom-light: #a9acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8afc",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 233.438,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.16748,
    "h": 275.7
  },
  "luminance": 0.2949
}

Semantic roles & 50–950 ramp

primary
#7C8AFC
secondary
#F7F3D4
accent
#CC00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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