#8D98EF#8D98EF

#8D98EF is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.7% C 0.127 H 277.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D98EF
RGBrgb(141, 152, 239)
HSLhsl(233, 75%, 75%)
HSVhsv(233, 41%, 94%)
CMYKcmyk(41%, 36.4%, 0%, 6.3%)
CIE-LABlab(65.24, 17.49, -45.01)
CIE-LCHlch(65.24, 48.29, 291.23°)
OKLaboklab(70.69% 0.0158 -0.1265)
OKLCHoklch(70.69% 0.127 277.1)
XYZxyz(37.7881, 34.3495, 86.2836)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98EF #EFE48D
analogous
#8DC9EF #8D98EF #B38DEF
triadic
#8D98EF #EF8D98 #98EF8D
tetradic
#8D98EF #EF8DC9 #EFE48D #8DEFB3
square
#8D98EF #EF8DC9 #EFE48D #8DEFB3
split-complementary
#8D98EF #EFB38D #C9EF8D
monochromatic
#2237E0 #5768E7 #8D98EF #C3C8F7 #E4E7FB

Accessibility & contrast

On white

2.67
#8D98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8D98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98EF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98EF#FFFFFF#000000##000000
##8D98EF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#739BED
Tritanopia (blue-blind)
#6EA9B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8d98ef;
/* rgb */ color: rgb(141, 152, 239);
/* oklch */ color: oklch(70.7% 0.127 277.1);
Tailwind
colors: {
  custom: {
    50: '#b2b6f4',
    500: '#8d98ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d98ef;
$custom-light: #b2b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98ef",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 233.265,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.12746,
    "h": 277.1
  },
  "luminance": 0.34351
}

Semantic roles & 50–950 ramp

primary
#8D98EF
secondary
#F3F0D8
accent
#C10ED8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8D98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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