#8F87F1#8F87F1

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

Color values

HEX#8F87F1
RGBrgb(143, 135, 241)
HSLhsl(245, 79%, 74%)
HSVhsv(245, 44%, 95%)
CMYKcmyk(40.7%, 44%, 0%, 5.5%)
CIE-LABlab(61.24, 28.40, -52.43)
CIE-LCHlch(61.24, 59.63, 298.44°)
OKLaboklab(67.7% 0.0396 -0.1481)
OKLCHoklch(67.7% 0.153 285)
XYZxyz(35.8643, 29.5171, 87.0097)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F1 #E9F187
analogous
#87B4F1 #8F87F1 #C487F1
triadic
#8F87F1 #F18F87 #87F18F
tetradic
#8F87F1 #F187B4 #E9F187 #87F1C4
square
#8F87F1 #F187B4 #E9F187 #87F1C4
split-complementary
#8F87F1 #F1C487 #B4F187
monochromatic
#2A1AE3 #5C50EB #8F87F1 #C2BEF7 #E5E4FC

Accessibility & contrast

On white

3.04
#8F87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8F87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F1#FFFFFF#000000##000000
##8F87F11.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#729CB0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f1;
/* rgb */ color: rgb(143, 135, 241);
/* oklch */ color: oklch(67.7% 0.153 285.0);
Tailwind
colors: {
  custom: {
    50: '#b4aaf6',
    500: '#8f87f1',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f1;
$custom-light: #b4aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f1",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 244.528,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67699,
    "c": 0.15331,
    "h": 285
  },
  "luminance": 0.29518
}

Semantic roles & 50–950 ramp

primary
#8F87F1
secondary
#F1F4D7
accent
#DB0ACC
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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