#8A98F8#8A98F8

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

Color values

HEX#8A98F8
RGBrgb(138, 152, 248)
HSLhsl(232, 89%, 76%)
HSVhsv(232, 44%, 97%)
CMYKcmyk(44.4%, 38.7%, 0%, 2.7%)
CIE-LABlab(65.46, 19.29, -49.60)
CIE-LCHlch(65.46, 53.22, 291.25°)
OKLaboklab(70.95% 0.0145 -0.1399)
OKLCHoklch(70.95% 0.141 275.9)
XYZxyz(38.6476, 34.6351, 93.4376)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F8 #F8EA8A
analogous
#8ACFF8 #8A98F8 #B38AF8
triadic
#8A98F8 #F88A98 #98F88A
tetradic
#8A98F8 #F88ACF #F8EA8A #8AF8B3
square
#8A98F8 #F88ACF #F8EA8A #8AF8B3
split-complementary
#8A98F8 #F8B38A #CFF88A
monochromatic
#1732F1 #5065F5 #8A98F8 #C4CBFB #E2E6FD

Accessibility & contrast

On white

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

On black

7.93
#8A98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F8#FFFFFF#000000##000000
##8A98F81.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#64ACBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98f8;
/* rgb */ color: rgb(138, 152, 248);
/* oklch */ color: oklch(70.9% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#b1b6fb',
    500: '#8a98f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f8;
$custom-light: #b1b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f8",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 232.364,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70947,
    "c": 0.14066,
    "h": 275.9
  },
  "luminance": 0.34637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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