#8F96EA#8F96EA

#8F96EA is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.123 H 279.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F96EA
RGBrgb(143, 150, 234)
HSLhsl(235, 68%, 74%)
HSVhsv(235, 39%, 92%)
CMYKcmyk(38.9%, 35.9%, 0%, 8.2%)
CIE-LABlab(64.64, 17.78, -43.20)
CIE-LCHlch(64.64, 46.71, 292.37°)
OKLaboklab(70.18% 0.0194 -0.1212)
OKLCHoklch(70.18% 0.123 279.1)
XYZxyz(37.0810, 33.5913, 82.3559)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F96EA #EAE38F
analogous
#8FC4EA #8F96EA #B68FEA
triadic
#8F96EA #EA8F96 #96EA8F
tetradic
#8F96EA #EA8FC4 #EAE38F #8FEAB6
square
#8F96EA #EA8FC4 #EAE38F #8FEAB6
split-complementary
#8F96EA #EAB68F #C4EA8F
monochromatic
#2836D6 #5B66E0 #8F96EA #C3C6F4 #E5E7FA

Accessibility & contrast

On white

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

On black

7.72
#8F96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F96EA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F96EA#FFFFFF#000000##000000
##8F96EA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#749AE8
Tritanopia (blue-blind)
#74A6B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8f96ea;
/* rgb */ color: rgb(143, 150, 234);
/* oklch */ color: oklch(70.2% 0.123 279.1);
Tailwind
colors: {
  custom: {
    50: '#b3b4f1',
    500: '#8f96ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f96ea;
$custom-light: #b3b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f96ea",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 235.385,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70183,
    "c": 0.12271,
    "h": 279.1
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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