#7D98F7#7D98F7

#7D98F7 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.143 H 270.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D98F7
RGBrgb(125, 152, 247)
HSLhsl(227, 88%, 73%)
HSVhsv(227, 49%, 97%)
CMYKcmyk(49.4%, 38.5%, 0%, 3.1%)
CIE-LABlab(64.59, 15.97, -50.49)
CIE-LCHlch(64.59, 52.96, 287.55°)
OKLaboklab(70.04% 0.001 -0.1428)
OKLCHoklch(70.04% 0.143 270.4)
XYZxyz(36.4688, 33.5295, 92.5278)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98F7 #F7DC7D
analogous
#7DD5F7 #7D98F7 #9F7DF7
triadic
#7D98F7 #F77D98 #98F77D
tetradic
#7D98F7 #F77DD5 #F7DC7D #7DF79F
square
#7D98F7 #F77DD5 #F7DC7D #7DF79F
split-complementary
#7D98F7 #F79F7D #D5F77D
monochromatic
#0E3FEB #436AF3 #7D98F7 #B7C6FB #E2E8FD

Accessibility & contrast

On white

2.73
#7D98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7D98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98F7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98F7#FFFFFF#000000##000000
##7D98F71.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#49ACBC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7d98f7;
/* rgb */ color: rgb(125, 152, 247);
/* oklch */ color: oklch(70.0% 0.143 270.4);
Tailwind
colors: {
  custom: {
    50: '#a9b6fa',
    500: '#7d98f7',
    950: '#000000',
  },
}
SCSS
$custom: #7d98f7;
$custom-light: #a9b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98f7",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 226.721,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.14276,
    "h": 270.4
  },
  "luminance": 0.33532
}

Semantic roles & 50–950 ramp

primary
#7D98F7
secondary
#F5EED6
accent
#B200E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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