#8F87F4#8F87F4

#8F87F4 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.9% C 0.157 H 284.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8F87F4
RGBrgb(143, 135, 244)
HSLhsl(244, 83%, 74%)
HSVhsv(244, 45%, 96%)
CMYKcmyk(41.4%, 44.7%, 0%, 4.3%)
CIE-LABlab(61.39, 29.23, -53.84)
CIE-LCHlch(61.39, 61.26, 298.50°)
OKLaboklab(67.87% 0.04 -0.1522)
OKLCHoklch(67.87% 0.157 284.7)
XYZxyz(36.3161, 29.6978, 89.3892)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F4 #ECF487
analogous
#87B6F4 #8F87F4 #C687F4
triadic
#8F87F4 #F48F87 #87F48F
tetradic
#8F87F4 #F487B6 #ECF487 #87F4C6
square
#8F87F4 #F487B6 #ECF487 #87F4C6
split-complementary
#8F87F4 #F4C687 #B6F487
monochromatic
#2617EA #5B4FEF #8F87F4 #C3BFF9 #E5E3FC

Accessibility & contrast

On white

3.03
#8F87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8F87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F4#FFFFFF#000000##000000
##8F87F41.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F8
Deuteranopia (green-blind)
#5A91F1
Tritanopia (blue-blind)
#719DB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f4;
/* rgb */ color: rgb(143, 135, 244);
/* oklch */ color: oklch(67.9% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#b4aaf8',
    500: '#8f87f4',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f4;
$custom-light: #b4aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f4",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 244.404,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67869,
    "c": 0.1574,
    "h": 284.7
  },
  "luminance": 0.29699
}

Semantic roles & 50–950 ramp

primary
#8F87F4
secondary
#F2F4D7
accent
#E006D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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