#8F87F9#8F87F9

#8F87F9 is a light, vivid blue. Relative luminance 0.300; OKLCH L 68.2% C 0.164 H 284.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F87F9
RGBrgb(143, 135, 249)
HSLhsl(244, 90%, 75%)
HSVhsv(244, 46%, 98%)
CMYKcmyk(42.6%, 45.8%, 0%, 2.4%)
CIE-LABlab(61.66, 30.63, -56.16)
CIE-LCHlch(61.66, 63.97, 298.60°)
OKLaboklab(68.16% 0.0407 -0.1591)
OKLCHoklch(68.16% 0.164 284.3)
XYZxyz(37.0856, 30.0056, 93.4418)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F9 #F1F987
analogous
#87B8F9 #8F87F9 #C887F9
triadic
#8F87F9 #F98F87 #87F98F
tetradic
#8F87F9 #F987B8 #F1F987 #87F9C8
square
#8F87F9 #F987B8 #F1F987 #87F9C8
split-complementary
#8F87F9 #F9C887 #B8F987
monochromatic
#2212F3 #594DF6 #8F87F9 #C5C1FC #E4E2FE

Accessibility & contrast

On white

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

On black

7.00
#8F87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F87F9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F9#FFFFFF#000000##000000
##8F87F91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#6E9EB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f87f9;
/* rgb */ color: rgb(143, 135, 249);
/* oklch */ color: oklch(68.2% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#b5aafc',
    500: '#8f87f9',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f9;
$custom-light: #b5aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f9",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 244.211,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.16417,
    "h": 284.3
  },
  "luminance": 0.30007
}

Semantic roles & 50–950 ramp

primary
#8F87F9
secondary
#F3F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #8F87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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