#8F97FF#8F97FF

#8F97FF is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.5% C 0.151 H 278.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F97FF
RGBrgb(143, 151, 255)
HSLhsl(236, 100%, 78%)
HSVhsv(236, 44%, 100%)
CMYKcmyk(43.9%, 40.8%, 0%, 0%)
CIE-LABlab(65.90, 23.06, -52.72)
CIE-LCHlch(65.90, 57.54, 293.62°)
OKLaboklab(71.48% 0.0223 -0.1489)
OKLCHoklch(71.48% 0.151 278.5)
XYZxyz(40.4389, 35.1909, 99.2501)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97FF #FFF78F
analogous
#8FCFFF #8F97FF #BF8FFF
triadic
#8F97FF #FF8F97 #97FF8F
tetradic
#8F97FF #FF8FCF #FFF78F #8FFFBF
square
#8F97FF #FF8FCF #FFF78F #8FFFBF
split-complementary
#8F97FF #FFBF8F #CFFF8F
monochromatic
#1525FF #525EFF #8F97FF #CCD0FF #E0E3FF

Accessibility & contrast

On white

2.61
#8F97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#8F97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97FF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97FF#FFFFFF#000000##000000
##8F97FF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#689CFD
Tritanopia (blue-blind)
#69ACBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8f97ff;
/* rgb */ color: rgb(143, 151, 255);
/* oklch */ color: oklch(71.5% 0.151 278.5);
Tailwind
colors: {
  custom: {
    50: '#b5b5ff',
    500: '#8f97ff',
    950: '#000000',
  },
}
SCSS
$custom: #8f97ff;
$custom-light: #b5b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97ff",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 235.714,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.15057,
    "h": 278.5
  },
  "luminance": 0.35193
}

Semantic roles & 50–950 ramp

primary
#8F97FF
secondary
#F7F5D4
accent
#D500E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8F97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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