#8F87F8#8F87F8

#8F87F8 is a light, vivid blue. Relative luminance 0.299; OKLCH L 68.1% C 0.163 H 284.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8F87F8
RGBrgb(143, 135, 248)
HSLhsl(244, 89%, 75%)
HSVhsv(244, 46%, 97%)
CMYKcmyk(42.3%, 45.6%, 0%, 2.7%)
CIE-LABlab(61.61, 30.35, -55.70)
CIE-LCHlch(61.61, 63.43, 298.58°)
OKLaboklab(68.1% 0.0405 -0.1577)
OKLCHoklch(68.1% 0.163 284.4)
XYZxyz(36.9300, 29.9434, 92.6225)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F8 #F0F887
analogous
#87B7F8 #8F87F8 #C887F8
triadic
#8F87F8 #F88F87 #87F88F
tetradic
#8F87F8 #F887B7 #F0F887 #87F8C8
square
#8F87F8 #F887B7 #F0F887 #87F8C8
split-complementary
#8F87F8 #F8C887 #B7F887
monochromatic
#2313F1 #594DF5 #8F87F8 #C5C1FB #E4E2FD

Accessibility & contrast

On white

3.00
#8F87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8F87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F8#FFFFFF#000000##000000
##8F87F81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#6F9EB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f87f8;
/* rgb */ color: rgb(143, 135, 248);
/* oklch */ color: oklch(68.1% 0.163 284.4);
Tailwind
colors: {
  custom: {
    50: '#b5aafb',
    500: '#8f87f8',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f8;
$custom-light: #b5aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f8",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 244.248,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.16282,
    "h": 284.4
  },
  "luminance": 0.29945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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