#7D98DF#7D98DF

#7D98DF is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.8% C 0.110 H 267.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7D98DF
RGBrgb(125, 152, 223)
HSLhsl(223, 60%, 68%)
HSVhsv(223, 44%, 87%)
CMYKcmyk(43.9%, 31.8%, 0%, 12.5%)
CIE-LABlab(63.46, 8.92, -39.05)
CIE-LCHlch(63.46, 40.06, 282.87°)
OKLaboklab(68.8% -0.0046 -0.1095)
OKLCHoklch(68.8% 0.11 267.6)
XYZxyz(33.0008, 32.1423, 74.2629)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98DF #DFC47D
analogous
#7DC9DF #7D98DF #937DDF
triadic
#7D98DF #DF7D98 #98DF7D
tetradic
#7D98DF #DF7DC9 #DFC47D #7DDF93
square
#7D98DF #DF7DC9 #DFC47D #7DDF93
split-complementary
#7D98DF #DF937D #C9DF7D
monochromatic
#2D52B5 #4C71D3 #7D98DF #AEBFEB #DFE6F7

Accessibility & contrast

On white

2.83
#7D98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7D98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98DF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98DF#FFFFFF#000000##000000
##7D98DF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE2
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#5AA7B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7d98df;
/* rgb */ color: rgb(125, 152, 223);
/* oklch */ color: oklch(68.8% 0.110 267.6);
Tailwind
colors: {
  custom: {
    50: '#a7b6e9',
    500: '#7d98df',
    950: '#000000',
  },
}
SCSS
$custom: #7d98df;
$custom-light: #a7b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98df",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 223.469,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68803,
    "c": 0.10957,
    "h": 267.6
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#7D98DF
secondary
#EBE3CD
accent
#991DC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7D98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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