#87A6FA#87A6FA

#87A6FA is a light, vivid blue. Relative luminance 0.393; OKLCH L 73.6% C 0.127 H 267.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#87A6FA
RGBrgb(135, 166, 250)
HSLhsl(224, 92%, 75%)
HSVhsv(224, 46%, 98%)
CMYKcmyk(46%, 33.6%, 0%, 2%)
CIE-LABlab(68.98, 11.10, -45.16)
CIE-LCHlch(68.98, 46.51, 283.81°)
OKLaboklab(73.64% -0.0048 -0.127)
OKLCHoklch(73.64% 0.127 267.8)
XYZxyz(40.8777, 39.3230, 95.8601)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A6FA #FADB87
analogous
#87DFFA #87A6FA #A187FA
triadic
#87A6FA #FA87A6 #A6FA87
tetradic
#87A6FA #FA87DF #FADB87 #87FAA1
square
#87A6FA #FA87DF #FADB87 #87FAA1
split-complementary
#87A6FA #FAA187 #DFFA87
monochromatic
#114FF5 #4C7AF8 #87A6FA #C2D2FC #E2E9FE

Accessibility & contrast

On white

2.37
#87A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#87A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A6FA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A6FA#FFFFFF#000000##000000
##87A6FA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#5BB8C5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87a6fa;
/* rgb */ color: rgb(135, 166, 250);
/* oklch */ color: oklch(73.6% 0.127 267.8);
Tailwind
colors: {
  custom: {
    50: '#afc0fc',
    500: '#87a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #87a6fa;
$custom-light: #afc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#87a6fa",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 223.826,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.12706,
    "h": 267.8
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

primary
#87A6FA
secondary
#F6EDD5
accent
#A800E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #87A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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