#7D98EA#7D98EA

#7D98EA is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.4% C 0.125 H 269.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7D98EA
RGBrgb(125, 152, 234)
HSLhsl(225, 72%, 70%)
HSVhsv(225, 47%, 92%)
CMYKcmyk(46.6%, 35%, 0%, 8.2%)
CIE-LABlab(63.96, 12.11, -44.34)
CIE-LCHlch(63.96, 45.96, 285.28°)
OKLaboklab(69.36% -0.0018 -0.1248)
OKLCHoklch(69.36% 0.125 269.2)
XYZxyz(34.5322, 32.7549, 82.3287)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98EA #EACF7D
analogous
#7DCEEA #7D98EA #997DEA
triadic
#7D98EA #EA7D98 #98EA7D
tetradic
#7D98EA #EA7DCE #EACF7D #7DEA99
square
#7D98EA #EA7DCE #EACF7D #7DEA99
split-complementary
#7D98EA #EA997D #CEEA7D
monochromatic
#214BCC #486EE1 #7D98EA #B2C2F3 #E5EAFB

Accessibility & contrast

On white

2.78
#7D98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7D98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98EA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98EA#FFFFFF#000000##000000
##7D98EA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#53A9B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7d98ea;
/* rgb */ color: rgb(125, 152, 234);
/* oklch */ color: oklch(69.4% 0.125 269.2);
Tailwind
colors: {
  custom: {
    50: '#a8b6f1',
    500: '#7d98ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d98ea;
$custom-light: #a8b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98ea",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 225.138,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69357,
    "c": 0.12484,
    "h": 269.2
  },
  "luminance": 0.32757
}

Semantic roles & 50–950 ramp

primary
#7D98EA
secondary
#F0E9D2
accent
#A411D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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