#8D97EB#8D97EB

#8D97EB is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.123 H 277.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D97EB
RGBrgb(141, 151, 235)
HSLhsl(234, 70%, 74%)
HSVhsv(234, 40%, 92%)
CMYKcmyk(40%, 35.7%, 0%, 7.8%)
CIE-LABlab(64.80, 16.96, -43.50)
CIE-LCHlch(64.80, 46.69, 291.29°)
OKLaboklab(70.29% 0.0162 -0.1221)
OKLCHoklch(70.29% 0.123 277.6)
XYZxyz(37.0421, 33.7925, 83.1520)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D97EB #EBE18D
analogous
#8DC6EB #8D97EB #B28DEB
triadic
#8D97EB #EB8D97 #97EB8D
tetradic
#8D97EB #EB8DC6 #EBE18D #8DEBB2
square
#8D97EB #EB8DC6 #EBE18D #8DEBB2
split-complementary
#8D97EB #EBB28D #C6EB8D
monochromatic
#2639D8 #5967E2 #8D97EB #C1C6F4 #E5E7FA

Accessibility & contrast

On white

2.71
#8D97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#8D97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D97EB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D97EB#FFFFFF#000000##000000
##8D97EB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#70A8B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8d97eb;
/* rgb */ color: rgb(141, 151, 235);
/* oklch */ color: oklch(70.3% 0.123 277.6);
Tailwind
colors: {
  custom: {
    50: '#b2b5f2',
    500: '#8d97eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d97eb;
$custom-light: #b2b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d97eb",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 233.617,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.12317,
    "h": 277.6
  },
  "luminance": 0.33794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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