#8F87F7#8F87F7

#8F87F7 is a light, vivid blue. Relative luminance 0.299; OKLCH L 68.0% C 0.161 H 284.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F87F7
RGBrgb(143, 135, 247)
HSLhsl(244, 88%, 75%)
HSVhsv(244, 45%, 97%)
CMYKcmyk(42.1%, 45.3%, 0%, 3.1%)
CIE-LABlab(61.55, 30.07, -55.24)
CIE-LCHlch(61.55, 62.89, 298.56°)
OKLaboklab(68.04% 0.0404 -0.1563)
OKLCHoklch(68.04% 0.161 284.5)
XYZxyz(36.7753, 29.8815, 91.8077)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F7 #EFF787
analogous
#87B7F7 #8F87F7 #C787F7
triadic
#8F87F7 #F78F87 #87F78F
tetradic
#8F87F7 #F787B7 #EFF787 #87F7C7
square
#8F87F7 #F787B7 #EFF787 #87F7C7
split-complementary
#8F87F7 #F7C787 #B7F787
monochromatic
#2414EF #594EF3 #8F87F7 #C5C0FB #E4E2FD

Accessibility & contrast

On white

3.01
#8F87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8F87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F7#FFFFFF#000000##000000
##8F87F71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#6F9EB3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f87f7;
/* rgb */ color: rgb(143, 135, 247);
/* oklch */ color: oklch(68.0% 0.161 284.5);
Tailwind
colors: {
  custom: {
    50: '#b4aafa',
    500: '#8f87f7',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f7;
$custom-light: #b4aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f7",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 244.286,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.16146,
    "h": 284.5
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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