#8F87F6#8F87F6

#8F87F6 is a light, vivid blue. Relative luminance 0.298; OKLCH L 68.0% C 0.160 H 284.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F87F6
RGBrgb(143, 135, 246)
HSLhsl(244, 86%, 75%)
HSVhsv(244, 45%, 96%)
CMYKcmyk(41.9%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.50, 29.79, -54.77)
CIE-LCHlch(61.50, 62.35, 298.54°)
OKLaboklab(67.98% 0.0403 -0.155)
OKLCHoklch(67.98% 0.16 284.6)
XYZxyz(36.6214, 29.8199, 90.9972)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F6 #EEF687
analogous
#87B7F6 #8F87F6 #C687F6
triadic
#8F87F6 #F68F87 #87F68F
tetradic
#8F87F6 #F687B7 #EEF687 #87F6C6
square
#8F87F6 #F687B7 #EEF687 #87F6C6
split-complementary
#8F87F6 #F6C687 #B7F687
monochromatic
#2515ED #5A4EF2 #8F87F6 #C4C0FA #E4E3FD

Accessibility & contrast

On white

3.02
#8F87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8F87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F6#FFFFFF#000000##000000
##8F87F61.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#709EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f6;
/* rgb */ color: rgb(143, 135, 246);
/* oklch */ color: oklch(68.0% 0.160 284.6);
Tailwind
colors: {
  custom: {
    50: '#b4aafa',
    500: '#8f87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f6;
$custom-light: #b4aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f6",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 244.324,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67984,
    "c": 0.16011,
    "h": 284.6
  },
  "luminance": 0.29821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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