#8D98EA#8D98EA

#8D98EA is a light, vivid blue. Relative luminance 0.341; OKLCH L 70.4% C 0.120 H 277.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D98EA
RGBrgb(141, 152, 234)
HSLhsl(233, 69%, 74%)
HSVhsv(233, 40%, 92%)
CMYKcmyk(39.7%, 35%, 0%, 8.2%)
CIE-LABlab(65.01, 16.10, -42.62)
CIE-LCHlch(65.01, 45.56, 290.70°)
OKLaboklab(70.43% 0.0147 -0.1195)
OKLCHoklch(70.43% 0.12 277)
XYZxyz(37.0596, 34.0581, 82.4471)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98EA #EADF8D
analogous
#8DC6EA #8D98EA #B08DEA
triadic
#8D98EA #EA8D98 #98EA8D
tetradic
#8D98EA #EA8DC6 #EADF8D #8DEAB0
square
#8D98EA #EA8DC6 #EADF8D #8DEAB0
split-complementary
#8D98EA #EAB08D #C6EA8D
monochromatic
#273CD5 #5969E0 #8D98EA #C1C7F4 #E5E8FA

Accessibility & contrast

On white

2.69
#8D98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8D98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98EA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98EA#FFFFFF#000000##000000
##8D98EA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2ED
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#70A8B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8d98ea;
/* rgb */ color: rgb(141, 152, 234);
/* oklch */ color: oklch(70.4% 0.120 277.0);
Tailwind
colors: {
  custom: {
    50: '#b2b6f1',
    500: '#8d98ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d98ea;
$custom-light: #b2b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98ea",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 232.903,
    "s": 68.889,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70433,
    "c": 0.12044,
    "h": 277
  },
  "luminance": 0.3406
}

Semantic roles & 50–950 ramp

primary
#8D98EA
secondary
#F2EFD9
accent
#BB15D1
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8D98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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