#8D98FA#8D98FA

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

Color values

HEX#8D98FA
RGBrgb(141, 152, 250)
HSLhsl(234, 92%, 77%)
HSVhsv(234, 44%, 98%)
CMYKcmyk(43.6%, 39.2%, 0%, 2%)
CIE-LABlab(65.76, 20.58, -50.21)
CIE-LCHlch(65.76, 54.26, 292.29°)
OKLaboklab(71.26% 0.0181 -0.1416)
OKLCHoklch(71.26% 0.143 277.3)
XYZxyz(39.4628, 35.0194, 95.1040)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98FA #FAEF8D
analogous
#8DCFFA #8D98FA #B98DFA
triadic
#8D98FA #FA8D98 #98FA8D
tetradic
#8D98FA #FA8DCF #FAEF8D #8DFAB9
square
#8D98FA #FA8DCF #FAEF8D #8DFAB9
split-complementary
#8D98FA #FAB98D #CFFA8D
monochromatic
#182EF5 #5263F7 #8D98FA #C8CDFD #E2E5FE

Accessibility & contrast

On white

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

On black

8.00
#8D98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98FA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98FA#FFFFFF#000000##000000
##8D98FA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#68ACBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8d98fa;
/* rgb */ color: rgb(141, 152, 250);
/* oklch */ color: oklch(71.3% 0.143 277.3);
Tailwind
colors: {
  custom: {
    50: '#b3b6fc',
    500: '#8d98fa',
    950: '#000000',
  },
}
SCSS
$custom: #8d98fa;
$custom-light: #b3b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98fa",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 233.945,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.14276,
    "h": 277.3
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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