#8F97E5#8F97E5

#8F97E5 is a light, moderate blue. Relative luminance 0.336; OKLCH L 70.1% C 0.114 H 278.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8F97E5
RGBrgb(143, 151, 229)
HSLhsl(234, 62%, 73%)
HSVhsv(234, 38%, 90%)
CMYKcmyk(37.6%, 34.1%, 0%, 10.2%)
CIE-LABlab(64.67, 15.84, -40.39)
CIE-LCHlch(64.67, 43.39, 291.41°)
OKLaboklab(70.13% 0.017 -0.113)
OKLCHoklch(70.13% 0.114 278.5)
XYZxyz(36.5331, 33.6286, 78.6796)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97E5 #E5DD8F
analogous
#8FC2E5 #8F97E5 #B28FE5
triadic
#8F97E5 #E58F97 #97E58F
tetradic
#8F97E5 #E58FC2 #E5DD8F #8FE5B2
square
#8F97E5 #E58FC2 #E5DD8F #8FE5B2
split-complementary
#8F97E5 #E5B28F #C2E58F
monochromatic
#2F3DCB #5D69D9 #8F97E5 #C1C5F1 #E6E8F9

Accessibility & contrast

On white

2.72
#8F97E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8F97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97E5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97E5#FFFFFF#000000##000000
##8F97E51.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E8
Deuteranopia (green-blind)
#789AE3
Tritanopia (blue-blind)
#76A6B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8f97e5;
/* rgb */ color: rgb(143, 151, 229);
/* oklch */ color: oklch(70.1% 0.114 278.5);
Tailwind
colors: {
  custom: {
    50: '#b2b5ed',
    500: '#8f97e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f97e5;
$custom-light: #b2b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97e5",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 234.419,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.11431,
    "h": 278.5
  },
  "luminance": 0.3363
}

Semantic roles & 50–950 ramp

primary
#8F97E5
secondary
#F1EFDA
accent
#BA1BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8F97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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