#8D97EF#8D97EF

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

Color values

HEX#8D97EF
RGBrgb(141, 151, 239)
HSLhsl(234, 75%, 75%)
HSVhsv(234, 41%, 94%)
CMYKcmyk(41%, 36.8%, 0%, 6.3%)
CIE-LABlab(64.98, 18.07, -45.41)
CIE-LCHlch(64.98, 48.87, 291.69°)
OKLaboklab(70.49% 0.0171 -0.1277)
OKLCHoklch(70.49% 0.129 277.6)
XYZxyz(37.6265, 34.0262, 86.2298)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D97EF #EFE58D
analogous
#8DC8EF #8D97EF #B48DEF
triadic
#8D97EF #EF8D97 #97EF8D
tetradic
#8D97EF #EF8DC8 #EFE58D #8DEFB4
square
#8D97EF #EF8DC8 #EFE58D #8DEFB4
split-complementary
#8D97EF #EFB48D #C8EF8D
monochromatic
#2235E0 #5766E7 #8D97EF #C3C8F7 #E4E7FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D97EF#FFFFFF#000000##000000
##8D97EF1.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)
#78A2F3
Deuteranopia (green-blind)
#729AED
Tritanopia (blue-blind)
#6EA9B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8d97ef;
/* rgb */ color: rgb(141, 151, 239);
/* oklch */ color: oklch(70.5% 0.129 277.6);
Tailwind
colors: {
  custom: {
    50: '#b2b5f4',
    500: '#8d97ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d97ef;
$custom-light: #b2b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d97ef",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 233.878,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7049,
    "c": 0.12879,
    "h": 277.6
  },
  "luminance": 0.34028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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