#7D98EF#7D98EF

#7D98EF is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.6% C 0.132 H 269.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7D98EF
RGBrgb(125, 152, 239)
HSLhsl(226, 78%, 71%)
HSVhsv(226, 48%, 94%)
CMYKcmyk(47.7%, 36.4%, 0%, 6.3%)
CIE-LABlab(64.20, 13.59, -46.72)
CIE-LCHlch(64.20, 48.66, 286.22°)
OKLaboklab(69.62% -0.0007 -0.1317)
OKLCHoklch(69.62% 0.132 269.7)
XYZxyz(35.2607, 33.0463, 86.1652)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98EF #EFD47D
analogous
#7DD1EF #7D98EF #9B7DEF
triadic
#7D98EF #EF7D98 #98EF7D
tetradic
#7D98EF #EF7DD1 #EFD47D #7DEF9B
square
#7D98EF #EF7DD1 #EFD47D #7DEF9B
split-complementary
#7D98EF #EF9B7D #D1EF7D
monochromatic
#1A47D7 #476DE8 #7D98EF #B3C3F6 #E4E9FC

Accessibility & contrast

On white

2.76
#7D98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7D98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98EF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98EF#FFFFFF#000000##000000
##7D98EF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#6C97ED
Tritanopia (blue-blind)
#4FAAB8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7d98ef;
/* rgb */ color: rgb(125, 152, 239);
/* oklch */ color: oklch(69.6% 0.132 269.7);
Tailwind
colors: {
  custom: {
    50: '#a8b6f4',
    500: '#7d98ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d98ef;
$custom-light: #a8b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98ef",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 225.789,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.13175,
    "h": 269.7
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#7D98EF
secondary
#F3ECD5
accent
#A90BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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