#7A98FA#7A98FA

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

Color values

HEX#7A98FA
RGBrgb(122, 152, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 51%, 98%)
CMYKcmyk(51.2%, 39.2%, 0%, 2%)
CIE-LABlab(64.56, 16.21, -52.19)
CIE-LCHlch(64.56, 54.65, 287.25°)
OKLaboklab(70.02% -0.0014 -0.1478)
OKLCHoklch(70.02% 0.148 269.5)
XYZxyz(36.5040, 33.4937, 94.9653)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98FA #FADC7A
analogous
#7AD8FA #7A98FA #9C7AFA
triadic
#7A98FA #FA7A98 #98FA7A
tetradic
#7A98FA #FA7AD8 #FADC7A #7AFA9C
square
#7A98FA #FA7AD8 #FADC7A #7AFA9C
split-complementary
#7A98FA #FA9C7A #D8FA7A
monochromatic
#093FF1 #3F6AF8 #7A98FA #B5C6FC #E2E8FE

Accessibility & contrast

On white

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

On black

7.70
#7A98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98FA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98FA#FFFFFF#000000##000000
##7A98FA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#3FADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7a98fa;
/* rgb */ color: rgb(122, 152, 250);
/* oklch */ color: oklch(70.0% 0.148 269.5);
Tailwind
colors: {
  custom: {
    50: '#a8b6fc',
    500: '#7a98fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a98fa;
$custom-light: #a8b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98fa",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 225.938,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.1478,
    "h": 269.5
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#7A98FA
secondary
#F6EED5
accent
#B000E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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