#7A98EA#7A98EA

#7A98EA is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.126 H 267.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7A98EA
RGBrgb(122, 152, 234)
HSLhsl(224, 73%, 70%)
HSVhsv(224, 48%, 92%)
CMYKcmyk(47.9%, 35%, 0%, 8.2%)
CIE-LABlab(63.78, 11.41, -44.64)
CIE-LCHlch(63.78, 46.07, 284.33°)
OKLaboklab(69.17% -0.0048 -0.1257)
OKLCHoklch(69.17% 0.126 267.8)
XYZxyz(34.1008, 32.5324, 82.3084)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98EA #EACC7A
analogous
#7AD0EA #7A98EA #947AEA
triadic
#7A98EA #EA7A98 #98EA7A
tetradic
#7A98EA #EA7AD0 #EACC7A #7AEA94
square
#7A98EA #EA7AD0 #EACC7A #7AEA94
split-complementary
#7A98EA #EA947A #D0EA7A
monochromatic
#204DCA #456FE2 #7A98EA #AFC1F2 #E4EAFB

Accessibility & contrast

On white

2.80
#7A98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7A98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98EA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98EA#FFFFFF#000000##000000
##7A98EA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#4CA9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7a98ea;
/* rgb */ color: rgb(122, 152, 234);
/* oklch */ color: oklch(69.2% 0.126 267.8);
Tailwind
colors: {
  custom: {
    50: '#a6b6f1',
    500: '#7a98ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a98ea;
$custom-light: #a6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98ea",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 223.929,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.12584,
    "h": 267.8
  },
  "luminance": 0.32535
}

Semantic roles & 50–950 ramp

primary
#7A98EA
secondary
#F0E7D0
accent
#A011D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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