#8F87FE#8F87FE

#8F87FE is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.5% C 0.171 H 284.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8F87FE
RGBrgb(143, 135, 254)
HSLhsl(244, 98%, 76%)
HSVhsv(244, 47%, 100%)
CMYKcmyk(43.7%, 46.9%, 0%, 0.4%)
CIE-LABlab(61.93, 32.03, -58.48)
CIE-LCHlch(61.93, 66.68, 298.71°)
OKLaboklab(68.45% 0.0412 -0.1658)
OKLCHoklch(68.45% 0.171 284)
XYZxyz(37.8758, 30.3217, 97.6037)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87FE #F6FE87
analogous
#87BBFE #8F87FE #CB87FE
triadic
#8F87FE #FE8F87 #87FE8F
tetradic
#8F87FE #FE87BB #F6FE87 #87FECB
square
#8F87FE #FE87BB #F6FE87 #87FECB
split-complementary
#8F87FE #FECB87 #BBFE87
monochromatic
#1E0EFD #564AFD #8F87FE #C8C4FF #E3E1FF

Accessibility & contrast

On white

2.97
#8F87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8F87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F87FE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87FE#FFFFFF#000000##000000
##8F87FE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#6CA0B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f87fe;
/* rgb */ color: rgb(143, 135, 254);
/* oklch */ color: oklch(68.5% 0.171 284.0);
Tailwind
colors: {
  custom: {
    50: '#b5aaff',
    500: '#8f87fe',
    950: '#000000',
  },
}
SCSS
$custom: #8f87fe;
$custom-light: #b5aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87fe",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 244.034,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.6845,
    "c": 0.17088,
    "h": 284
  },
  "luminance": 0.30323
}

Semantic roles & 50–950 ramp

primary
#8F87FE
secondary
#F5F7D4
accent
#E600D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8F87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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