#8F88F7#8F88F7

#8F88F7 is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.2% C 0.160 H 284.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F88F7
RGBrgb(143, 136, 247)
HSLhsl(244, 87%, 75%)
HSVhsv(244, 45%, 97%)
CMYKcmyk(42.1%, 44.9%, 0%, 3.1%)
CIE-LABlab(61.79, 29.49, -54.85)
CIE-LCHlch(61.79, 62.27, 298.26°)
OKLaboklab(68.22% 0.0392 -0.1552)
OKLCHoklch(68.22% 0.16 284.2)
XYZxyz(36.9155, 30.1619, 91.8544)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F88F7 #F0F788
analogous
#88B8F7 #8F88F7 #C788F7
triadic
#8F88F7 #F78F88 #88F78F
tetradic
#8F88F7 #F788B8 #F0F788 #88F7C7
square
#8F88F7 #F788B8 #F0F788 #88F7C7
split-complementary
#8F88F7 #F7C788 #B8F788
monochromatic
#2315EF #594FF3 #8F88F7 #C5C1FB #E4E2FD

Accessibility & contrast

On white

2.99
#8F88F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8F88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F88F7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F88F7#FFFFFF#000000##000000
##8F88F71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#6F9FB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f88f7;
/* rgb */ color: rgb(143, 136, 247);
/* oklch */ color: oklch(68.2% 0.160 284.2);
Tailwind
colors: {
  custom: {
    50: '#b4aafa',
    500: '#8f88f7',
    950: '#000000',
  },
}
SCSS
$custom: #8f88f7;
$custom-light: #b4aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f88f7",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 243.784,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68224,
    "c": 0.16007,
    "h": 284.2
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#8F88F7
secondary
#F3F5D6
accent
#E402D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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