#8F87DB#8F87DB

#8F87DB is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.5% C 0.123 H 286.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F87DB
RGBrgb(143, 135, 219)
HSLhsl(246, 54%, 69%)
HSVhsv(246, 38%, 86%)
CMYKcmyk(34.7%, 38.4%, 0%, 14.1%)
CIE-LABlab(60.14, 22.42, -41.94)
CIE-LCHlch(60.14, 47.56, 298.13°)
OKLaboklab(66.51% 0.0357 -0.1175)
OKLCHoklch(66.51% 0.123 286.9)
XYZxyz(32.7744, 28.2811, 70.7361)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87DB #D3DB87
analogous
#87A9DB #8F87DB #B987DB
triadic
#8F87DB #DB8F87 #87DB8F
tetradic
#8F87DB #DB87A9 #D3DB87 #87DBB9
square
#8F87DB #DB87A9 #D3DB87 #87DBB9
split-complementary
#8F87DB #DBB987 #A9DB87
monochromatic
#4135B2 #6358CD #8F87DB #BBB6E9 #E7E5F7

Accessibility & contrast

On white

3.15
#8F87DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8F87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87DB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87DB#FFFFFF#000000##000000
##8F87DB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#7B97A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f87db;
/* rgb */ color: rgb(143, 135, 219);
/* oklch */ color: oklch(66.5% 0.123 286.9);
Tailwind
colors: {
  custom: {
    50: '#b2aae6',
    500: '#8f87db',
    950: '#000000',
  },
}
SCSS
$custom: #8f87db;
$custom-light: #b2aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87db",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 245.714,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.12286,
    "h": 286.9
  },
  "luminance": 0.28282
}

Semantic roles & 50–950 ramp

primary
#8F87DB
secondary
#E9EBD3
accent
#C124B2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8F87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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