#7C8AFA#7C8AFA

#7C8AFA is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.4% C 0.165 H 275.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7C8AFA
RGBrgb(124, 138, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 50%, 98%)
CMYKcmyk(50.4%, 44.8%, 0%, 2%)
CIE-LABlab(61.10, 24.86, -57.69)
CIE-LCHlch(61.10, 62.81, 293.31°)
OKLaboklab(67.41% 0.0164 -0.1639)
OKLCHoklch(67.41% 0.165 275.7)
XYZxyz(34.6505, 29.3620, 94.2655)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AFA #FAEC7C
analogous
#7CC9FA #7C8AFA #AD7CFA
triadic
#7C8AFA #FA7C8A #8AFA7C
tetradic
#7C8AFA #FA7CC9 #FAEC7C #7CFAAD
square
#7C8AFA #FA7CC9 #FAEC7C #7CFAAD
split-complementary
#7C8AFA #FAAD7C #C9FA7C
monochromatic
#0923F2 #4155F8 #7C8AFA #B7BFFC #E2E5FE

Accessibility & contrast

On white

3.06
#7C8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7C8AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AFA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AFA#FFFFFF#000000##000000
##7C8AFA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#47A2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8afa;
/* rgb */ color: rgb(124, 138, 250);
/* oklch */ color: oklch(67.4% 0.165 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9abfc',
    500: '#7c8afa',
    950: '#000000',
  },
}
SCSS
$custom: #7c8afa;
$custom-light: #a9abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8afa",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 233.333,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67409,
    "c": 0.16475,
    "h": 275.7
  },
  "luminance": 0.29364
}

Semantic roles & 50–950 ramp

primary
#7C8AFA
secondary
#F6F2D5
accent
#CC00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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