#8A98F9#8A98F9

#8A98F9 is a light, vivid blue. Relative luminance 0.347; OKLCH L 71.0% C 0.142 H 275.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A98F9
RGBrgb(138, 152, 249)
HSLhsl(232, 90%, 76%)
HSVhsv(232, 45%, 98%)
CMYKcmyk(44.6%, 39%, 0%, 2.4%)
CIE-LABlab(65.51, 19.57, -50.07)
CIE-LCHlch(65.51, 53.76, 291.35°)
OKLaboklab(71% 0.0147 -0.1413)
OKLCHoklch(71% 0.142 275.9)
XYZxyz(38.8031, 34.6973, 94.2568)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F9 #F9EB8A
analogous
#8AD0F9 #8A98F9 #B38AF9
triadic
#8A98F9 #F98A98 #98F98A
tetradic
#8A98F9 #F98AD0 #F9EB8A #8AF9B3
square
#8A98F9 #F98AD0 #F9EB8A #8AF9B3
split-complementary
#8A98F9 #F9B38A #D0F98A
monochromatic
#1632F3 #5065F6 #8A98F9 #C4CBFC #E2E5FE

Accessibility & contrast

On white

2.64
#8A98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#8A98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F9#FFFFFF#000000##000000
##8A98F91.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#63ACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98f9;
/* rgb */ color: rgb(138, 152, 249);
/* oklch */ color: oklch(71.0% 0.142 275.9);
Tailwind
colors: {
  custom: {
    50: '#b1b6fc',
    500: '#8a98f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f9;
$custom-light: #b1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f9",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 232.432,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71,
    "c": 0.14204,
    "h": 275.9
  },
  "luminance": 0.34699
}

Semantic roles & 50–950 ramp

primary
#8A98F9
secondary
#F6F2D5
accent
#C900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F9

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

Preview Lab → · Contrast checker → · Palette generator →

#8A98F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva