#8F97EA#8F97EA

#8F97EA is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.4% C 0.121 H 278.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8F97EA
RGBrgb(143, 151, 234)
HSLhsl(235, 68%, 74%)
HSVhsv(235, 39%, 92%)
CMYKcmyk(38.9%, 35.5%, 0%, 8.2%)
CIE-LABlab(64.89, 17.20, -42.79)
CIE-LCHlch(64.89, 46.12, 291.90°)
OKLaboklab(70.38% 0.0181 -0.12)
OKLCHoklch(70.38% 0.121 278.6)
XYZxyz(37.2413, 33.9118, 82.4093)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97EA #EAE28F
analogous
#8FC5EA #8F97EA #B58FEA
triadic
#8F97EA #EA8F97 #97EA8F
tetradic
#8F97EA #EA8FC5 #EAE28F #8FEAB5
square
#8F97EA #EA8FC5 #EAE28F #8FEAB5
split-complementary
#8F97EA #EAB58F #C5EA8F
monochromatic
#2838D6 #5B67E0 #8F97EA #C3C7F4 #E5E7FA

Accessibility & contrast

On white

2.70
#8F97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8F97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97EA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97EA#FFFFFF#000000##000000
##8F97EA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#74A7B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8f97ea;
/* rgb */ color: rgb(143, 151, 234);
/* oklch */ color: oklch(70.4% 0.121 278.6);
Tailwind
colors: {
  custom: {
    50: '#b3b5f1',
    500: '#8f97ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f97ea;
$custom-light: #b3b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97ea",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 234.725,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.12137,
    "h": 278.6
  },
  "luminance": 0.33913
}

Semantic roles & 50–950 ramp

primary
#8F97EA
secondary
#F2F0D9
accent
#C015D0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8F97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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