#8F87F0#8F87F0

#8F87F0 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.6% C 0.152 H 285.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F87F0
RGBrgb(143, 135, 240)
HSLhsl(245, 78%, 74%)
HSVhsv(245, 44%, 94%)
CMYKcmyk(40.4%, 43.8%, 0%, 5.9%)
CIE-LABlab(61.18, 28.12, -51.96)
CIE-LCHlch(61.18, 59.08, 298.42°)
OKLaboklab(67.64% 0.0394 -0.1467)
OKLCHoklch(67.64% 0.152 285)
XYZxyz(35.7154, 29.4575, 86.2252)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F0 #E8F087
analogous
#87B3F0 #8F87F0 #C387F0
triadic
#8F87F0 #F08F87 #87F08F
tetradic
#8F87F0 #F087B3 #E8F087 #87F0C3
square
#8F87F0 #F087B3 #E8F087 #87F0C3
split-complementary
#8F87F0 #F0C387 #B3F087
monochromatic
#2B1CE1 #5C51E9 #8F87F0 #C2BDF7 #E6E4FC

Accessibility & contrast

On white

3.05
#8F87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#8F87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F0#FFFFFF#000000##000000
##8F87F01.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F4
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#739CB0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f0;
/* rgb */ color: rgb(143, 135, 240);
/* oklch */ color: oklch(67.6% 0.152 285.0);
Tailwind
colors: {
  custom: {
    50: '#b4aaf5',
    500: '#8f87f0',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f0;
$custom-light: #b4aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f0",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 244.571,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67643,
    "c": 0.15195,
    "h": 285
  },
  "luminance": 0.29459
}

Semantic roles & 50–950 ramp

primary
#8F87F0
secondary
#F1F3D8
accent
#DA0BCA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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