#8D98FC#8D98FC

#8D98FC is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.4% C 0.146 H 277.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D98FC
RGBrgb(141, 152, 252)
HSLhsl(234, 95%, 77%)
HSVhsv(234, 44%, 99%)
CMYKcmyk(44%, 39.7%, 0%, 1.2%)
CIE-LABlab(65.86, 21.15, -51.15)
CIE-LCHlch(65.86, 55.35, 292.46°)
OKLaboklab(71.37% 0.0185 -0.1443)
OKLCHoklch(71.37% 0.146 277.3)
XYZxyz(39.7781, 35.1455, 96.7644)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98FC #FCF18D
analogous
#8DD0FC #8D98FC #BA8DFC
triadic
#8D98FC #FC8D98 #98FC8D
tetradic
#8D98FC #FC8DD0 #FCF18D #8DFCBA
square
#8D98FC #FC8DD0 #FCF18D #8DFCBA
split-complementary
#8D98FC #FCBA8D #D0FC8D
monochromatic
#162CF9 #5162FA #8D98FC #C9CEFE #E1E4FE

Accessibility & contrast

On white

2.62
#8D98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#8D98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98FC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98FC#FFFFFF#000000##000000
##8D98FC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#67ACBE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8d98fc;
/* rgb */ color: rgb(141, 152, 252);
/* oklch */ color: oklch(71.4% 0.146 277.3);
Tailwind
colors: {
  custom: {
    50: '#b3b6fe',
    500: '#8d98fc',
    950: '#000000',
  },
}
SCSS
$custom: #8d98fc;
$custom-light: #b3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98fc",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 234.054,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.14552,
    "h": 277.3
  },
  "luminance": 0.35147
}

Semantic roles & 50–950 ramp

primary
#8D98FC
secondary
#F6F3D5
accent
#CF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8D98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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