#8D97EE#8D97EE

#8D97EE is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.4% C 0.127 H 277.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D97EE
RGBrgb(141, 151, 238)
HSLhsl(234, 74%, 74%)
HSVhsv(234, 41%, 93%)
CMYKcmyk(40.8%, 36.6%, 0%, 6.7%)
CIE-LABlab(64.94, 17.79, -44.94)
CIE-LCHlch(64.94, 48.33, 291.60°)
OKLaboklab(70.44% 0.0169 -0.1263)
OKLCHoklch(70.44% 0.127 277.6)
XYZxyz(37.4791, 33.9673, 85.4539)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D97EE #EEE48D
analogous
#8DC8EE #8D97EE #B48DEE
triadic
#8D97EE #EE8D97 #97EE8D
tetradic
#8D97EE #EE8DC8 #EEE48D #8DEEB4
square
#8D97EE #EE8DC8 #EEE48D #8DEEB4
split-complementary
#8D97EE #EEB48D #C8EE8D
monochromatic
#2236DE #5866E6 #8D97EE #C2C8F6 #E4E7FB

Accessibility & contrast

On white

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

On black

7.79
#8D97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D97EE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D97EE#FFFFFF#000000##000000
##8D97EE1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F1
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#6FA8B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8d97ee;
/* rgb */ color: rgb(141, 151, 238);
/* oklch */ color: oklch(70.4% 0.127 277.6);
Tailwind
colors: {
  custom: {
    50: '#b2b5f4',
    500: '#8d97ee',
    950: '#000000',
  },
}
SCSS
$custom: #8d97ee;
$custom-light: #b2b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d97ee",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 233.814,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70438,
    "c": 0.12738,
    "h": 277.6
  },
  "luminance": 0.33969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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