#8D98F9#8D98F9

#8D98F9 is a light, vivid blue. Relative luminance 0.350; OKLCH L 71.2% C 0.141 H 277.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8D98F9
RGBrgb(141, 152, 249)
HSLhsl(234, 90%, 76%)
HSVhsv(234, 43%, 98%)
CMYKcmyk(43.4%, 39%, 0%, 2.4%)
CIE-LABlab(65.72, 20.30, -49.74)
CIE-LCHlch(65.72, 53.72, 292.20°)
OKLaboklab(71.21% 0.0179 -0.1402)
OKLCHoklch(71.21% 0.141 277.3)
XYZxyz(39.3065, 34.9568, 94.2804)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98F9 #F9EE8D
analogous
#8DCEF9 #8D98F9 #B88DF9
triadic
#8D98F9 #F98D98 #98F98D
tetradic
#8D98F9 #F98DCE #F9EE8D #8DF9B8
square
#8D98F9 #F98DCE #F9EE8D #8DF9B8
split-complementary
#8D98F9 #F9B88D #CEF98D
monochromatic
#192FF3 #5363F6 #8D98F9 #C7CDFC #E2E5FD

Accessibility & contrast

On white

2.63
#8D98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#8D98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98F9
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98F9#FFFFFF#000000##000000
##8D98F91.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#69ACBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8d98f9;
/* rgb */ color: rgb(141, 152, 249);
/* oklch */ color: oklch(71.2% 0.141 277.3);
Tailwind
colors: {
  custom: {
    50: '#b3b6fb',
    500: '#8d98f9',
    950: '#000000',
  },
}
SCSS
$custom: #8d98f9;
$custom-light: #b3b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98f9",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 233.889,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71207,
    "c": 0.14138,
    "h": 277.3
  },
  "luminance": 0.34959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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