#7A98CE#7A98CE

#7A98CE is a light, moderate blue. Relative luminance 0.310; OKLCH L 67.8% C 0.087 H 261.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7A98CE
RGBrgb(122, 152, 206)
HSLhsl(219, 46%, 64%)
HSVhsv(219, 41%, 81%)
CMYKcmyk(40.8%, 26.2%, 0%, 19.2%)
CIE-LABlab(62.55, 3.33, -31.03)
CIE-LCHlch(62.55, 31.21, 276.13°)
OKLaboklab(67.81% -0.0124 -0.0864)
OKLCHoklch(67.81% 0.087 261.8)
XYZxyz(30.3913, 31.0487, 62.7722)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98CE #CEB07A
analogous
#7AC2CE #7A98CE #867ACE
triadic
#7A98CE #CE7A98 #98CE7A
tetradic
#7A98CE #CE7AC2 #CEB07A #7ACE86
square
#7A98CE #CE7AC2 #CEB07A #7ACE86
split-complementary
#7A98CE #CE867A #C2CE7A
monochromatic
#375996 #4D75BE #7A98CE #A7BBDE #D3DDEF

Accessibility & contrast

On white

2.91
#7A98CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7A98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98CE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98CE#FFFFFF#000000##000000
##7A98CE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD0
Deuteranopia (green-blind)
#7C94CD
Tritanopia (blue-blind)
#5DA3AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a98ce;
/* rgb */ color: rgb(122, 152, 206);
/* oklch */ color: oklch(67.8% 0.087 261.8);
Tailwind
colors: {
  custom: {
    50: '#a3b6dd',
    500: '#7a98ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a98ce;
$custom-light: #a3b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98ce",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 218.571,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67806,
    "c": 0.08729,
    "h": 261.8
  },
  "luminance": 0.3105
}

Semantic roles & 50–950 ramp

primary
#7A98CE
secondary
#E0D6C3
accent
#872CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7A98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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