#8A98F7#8A98F7

#8A98F7 is a light, vivid blue. Relative luminance 0.346; OKLCH L 70.9% C 0.139 H 275.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A98F7
RGBrgb(138, 152, 247)
HSLhsl(232, 87%, 75%)
HSVhsv(232, 44%, 97%)
CMYKcmyk(44.1%, 38.5%, 0%, 3.1%)
CIE-LABlab(65.42, 19.00, -49.13)
CIE-LCHlch(65.42, 52.68, 291.14°)
OKLaboklab(70.89% 0.0143 -0.1385)
OKLCHoklch(70.89% 0.139 275.9)
XYZxyz(38.4928, 34.5732, 92.6227)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F7 #F7E98A
analogous
#8ACEF7 #8A98F7 #B38AF7
triadic
#8A98F7 #F78A98 #98F78A
tetradic
#8A98F7 #F78ACE #F7E98A #8AF7B3
square
#8A98F7 #F78ACE #F7E98A #8AF7B3
split-complementary
#8A98F7 #F7B38A #CEF78A
monochromatic
#1733EF #5166F3 #8A98F7 #C3CAFB #E2E6FD

Accessibility & contrast

On white

2.65
#8A98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#8A98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F7#FFFFFF#000000##000000
##8A98F71.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#64ABBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98f7;
/* rgb */ color: rgb(138, 152, 247);
/* oklch */ color: oklch(70.9% 0.139 275.9);
Tailwind
colors: {
  custom: {
    50: '#b1b6fa',
    500: '#8a98f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f7;
$custom-light: #b1b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f7",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 232.294,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.13927,
    "h": 275.9
  },
  "luminance": 0.34575
}

Semantic roles & 50–950 ramp

primary
#8A98F7
secondary
#F5F1D6
accent
#C702E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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