#7D98EC#7D98EC

#7D98EC is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.5% C 0.128 H 269.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D98EC
RGBrgb(125, 152, 236)
HSLhsl(225, 74%, 71%)
HSVhsv(225, 47%, 93%)
CMYKcmyk(47%, 35.6%, 0%, 7.5%)
CIE-LABlab(64.06, 12.70, -45.29)
CIE-LCHlch(64.06, 47.04, 285.67°)
OKLaboklab(69.46% -0.0014 -0.1276)
OKLCHoklch(69.46% 0.128 269.4)
XYZxyz(34.8212, 32.8705, 83.8504)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98EC #ECD17D
analogous
#7DD0EC #7D98EC #997DEC
triadic
#7D98EC #EC7D98 #98EC7D
tetradic
#7D98EC #EC7DD0 #ECD17D #7DEC99
square
#7D98EC #EC7DD0 #ECD17D #7DEC99
split-complementary
#7D98EC #EC997D #D0EC7D
monochromatic
#1E4AD0 #486EE4 #7D98EC #B2C2F4 #E4EAFB

Accessibility & contrast

On white

2.77
#7D98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#7D98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98EC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98EC#FFFFFF#000000##000000
##7D98EC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#6D97EA
Tritanopia (blue-blind)
#52AAB7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7d98ec;
/* rgb */ color: rgb(125, 152, 236);
/* oklch */ color: oklch(69.5% 0.128 269.4);
Tailwind
colors: {
  custom: {
    50: '#a8b6f2',
    500: '#7d98ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d98ec;
$custom-light: #a8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98ec",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 225.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.12761,
    "h": 269.4
  },
  "luminance": 0.32873
}

Semantic roles & 50–950 ramp

primary
#7D98EC
secondary
#F1EAD3
accent
#A60FD7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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