#7D8CF5#7D8CF5

#7D8CF5 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.155 H 275.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D8CF5
RGBrgb(125, 140, 245)
HSLhsl(233, 86%, 73%)
HSVhsv(233, 49%, 96%)
CMYKcmyk(49%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.40, 22.40, -54.45)
CIE-LCHlch(61.40, 58.88, 292.36°)
OKLaboklab(67.57% 0.0144 -0.1544)
OKLCHoklch(67.57% 0.155 275.3)
XYZxyz(34.3118, 29.7067, 90.2945)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8CF5 #F5E67D
analogous
#7DC8F5 #7D8CF5 #AA7DF5
triadic
#7D8CF5 #F57D8C #8CF57D
tetradic
#7D8CF5 #F57DC8 #F5E67D #7DF5AA
square
#7D8CF5 #F57DC8 #F5E67D #7DF5AA
split-complementary
#7D8CF5 #F5AA7D #C8F57D
monochromatic
#122CE6 #445AF1 #7D8CF5 #B6BEF9 #E3E6FD

Accessibility & contrast

On white

3.03
#7D8CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7D8CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8CF5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8CF5#FFFFFF#000000##000000
##7D8CF51.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#4DA2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7d8cf5;
/* rgb */ color: rgb(125, 140, 245);
/* oklch */ color: oklch(67.6% 0.155 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9adf9',
    500: '#7d8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7d8cf5;
$custom-light: #a9adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8cf5",
  "rgb": {
    "r": 125,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 232.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.15509,
    "h": 275.3
  },
  "luminance": 0.29709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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