#8F87EA#8F87EA

#8F87EA is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.3% C 0.144 H 285.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F87EA
RGBrgb(143, 135, 234)
HSLhsl(245, 70%, 72%)
HSVhsv(245, 42%, 92%)
CMYKcmyk(38.9%, 42.3%, 0%, 8.2%)
CIE-LABlab(60.88, 26.47, -49.13)
CIE-LCHlch(60.88, 55.80, 298.32°)
OKLaboklab(67.31% 0.0385 -0.1385)
OKLCHoklch(67.31% 0.144 285.5)
XYZxyz(34.8388, 29.1069, 81.6085)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87EA #E2EA87
analogous
#87B1EA #8F87EA #C087EA
triadic
#8F87EA #EA8F87 #87EA8F
tetradic
#8F87EA #EA87B1 #E2EA87 #87EAC0
square
#8F87EA #EA87B1 #E2EA87 #87EAC0
split-complementary
#8F87EA #EAC087 #B1EA87
monochromatic
#3325D2 #5E53E1 #8F87EA #C0BBF3 #E7E5FA

Accessibility & contrast

On white

3.08
#8F87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8F87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87EA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87EA#FFFFFF#000000##000000
##8F87EA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#759AAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f87ea;
/* rgb */ color: rgb(143, 135, 234);
/* oklch */ color: oklch(67.3% 0.144 285.5);
Tailwind
colors: {
  custom: {
    50: '#b3aaf1',
    500: '#8f87ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f87ea;
$custom-light: #b3aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87ea",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 244.848,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.14372,
    "h": 285.5
  },
  "luminance": 0.29108
}

Semantic roles & 50–950 ramp

primary
#8F87EA
secondary
#F0F2D9
accent
#D213C3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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