#7C8DF5#7C8DF5

#7C8DF5 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.154 H 274.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7C8DF5
RGBrgb(124, 141, 245)
HSLhsl(232, 86%, 72%)
HSVhsv(232, 49%, 96%)
CMYKcmyk(49.4%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.59, 21.58, -54.16)
CIE-LCHlch(61.59, 58.30, 291.73°)
OKLaboklab(67.7% 0.0122 -0.1536)
OKLCHoklch(67.7% 0.154 274.5)
XYZxyz(34.3133, 29.9253, 90.3366)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DF5 #F5E47C
analogous
#7CCAF5 #7C8DF5 #A77CF5
triadic
#7C8DF5 #F57C8D #8DF57C
tetradic
#7C8DF5 #F57CCA #F5E47C #7CF5A7
square
#7C8DF5 #F57CCA #F5E47C #7CF5A7
split-complementary
#7C8DF5 #F5A77C #CAF57C
monochromatic
#112FE5 #435CF1 #7C8DF5 #B5BEF9 #E3E6FD

Accessibility & contrast

On white

3.01
#7C8DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7C8DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DF5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DF5#FFFFFF#000000##000000
##7C8DF51.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#4AA3B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8df5;
/* rgb */ color: rgb(124, 141, 245);
/* oklch */ color: oklch(67.7% 0.154 274.5);
Tailwind
colors: {
  custom: {
    50: '#a8aef9',
    500: '#7c8df5',
    950: '#000000',
  },
}
SCSS
$custom: #7c8df5;
$custom-light: #a8aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8df5",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 231.57,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.15405,
    "h": 274.5
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#7C8DF5
secondary
#F5F1D6
accent
#C303E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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