#8F87F5#8F87F5

#8F87F5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.9% C 0.159 H 284.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F87F5
RGBrgb(143, 135, 245)
HSLhsl(244, 85%, 75%)
HSVhsv(244, 45%, 96%)
CMYKcmyk(41.6%, 44.9%, 0%, 3.9%)
CIE-LABlab(61.45, 29.51, -54.30)
CIE-LCHlch(61.45, 61.80, 298.52°)
OKLaboklab(67.93% 0.0401 -0.1536)
OKLCHoklch(67.93% 0.159 284.6)
XYZxyz(36.4684, 29.7587, 90.1910)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F5 #EDF587
analogous
#87B6F5 #8F87F5 #C687F5
triadic
#8F87F5 #F58F87 #87F58F
tetradic
#8F87F5 #F587B6 #EDF587 #87F5C6
square
#8F87F5 #F587B6 #EDF587 #87F5C6
split-complementary
#8F87F5 #F5C687 #B6F587
monochromatic
#2616EC #5A4FF0 #8F87F5 #C4BFFA #E5E3FD

Accessibility & contrast

On white

3.02
#8F87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8F87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F5#FFFFFF#000000##000000
##8F87F51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#709DB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f5;
/* rgb */ color: rgb(143, 135, 245);
/* oklch */ color: oklch(67.9% 0.159 284.6);
Tailwind
colors: {
  custom: {
    50: '#b4aaf9',
    500: '#8f87f5',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f5;
$custom-light: #b4aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f5",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 244.364,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67927,
    "c": 0.15876,
    "h": 284.6
  },
  "luminance": 0.2976
}

Semantic roles & 50–950 ramp

primary
#8F87F5
secondary
#F2F5D6
accent
#E104D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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