#87A0F7#87A0F7

#87A0F7 is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.3% C 0.130 H 270.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#87A0F7
RGBrgb(135, 160, 247)
HSLhsl(227, 88%, 75%)
HSVhsv(227, 45%, 97%)
CMYKcmyk(45.3%, 35.2%, 0%, 3.1%)
CIE-LABlab(67.28, 13.67, -46.20)
CIE-LCHlch(67.28, 48.18, 286.48°)
OKLaboklab(72.28% 0.0016 -0.13)
OKLCHoklch(72.28% 0.13 270.7)
XYZxyz(39.3457, 37.0057, 93.0472)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A0F7 #F7DE87
analogous
#87D8F7 #87A0F7 #A687F7
triadic
#87A0F7 #F787A0 #A0F787
tetradic
#87A0F7 #F787D8 #F7DE87 #87F7A6
square
#87A0F7 #F787D8 #F7DE87 #87F7A6
split-complementary
#87A0F7 #F7A687 #D8F787
monochromatic
#1445EF #4E73F3 #87A0F7 #C0CDFB #E2E8FD

Accessibility & contrast

On white

2.50
#87A0F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#87A0F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A0F7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A0F7#FFFFFF#000000##000000
##87A0F71.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#5EB2C0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a0f7;
/* rgb */ color: rgb(135, 160, 247);
/* oklch */ color: oklch(72.3% 0.130 270.7);
Tailwind
colors: {
  custom: {
    50: '#afbbfa',
    500: '#87a0f7',
    950: '#000000',
  },
}
SCSS
$custom: #87a0f7;
$custom-light: #afbbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#87a0f7",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 247
  },
  "hsl": {
    "h": 226.607,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.13004,
    "h": 270.7
  },
  "luminance": 0.37008
}

Semantic roles & 50–950 ramp

primary
#87A0F7
secondary
#F5EED6
accent
#B101E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #87A0F7

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

Preview Lab → · Contrast checker → · Palette generator →

#87A0F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva