#87A4FA#87A4FA

#87A4FA is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.2% C 0.129 H 268.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#87A4FA
RGBrgb(135, 164, 250)
HSLhsl(225, 92%, 75%)
HSVhsv(225, 46%, 98%)
CMYKcmyk(46%, 34.4%, 0%, 2%)
CIE-LABlab(68.46, 12.24, -45.98)
CIE-LCHlch(68.46, 47.58, 284.91°)
OKLaboklab(73.24% -0.0024 -0.1294)
OKLCHoklch(73.24% 0.129 268.9)
XYZxyz(40.5170, 38.6015, 95.7398)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4FA #FADD87
analogous
#87DDFA #87A4FA #A487FA
triadic
#87A4FA #FA87A4 #A4FA87
tetradic
#87A4FA #FA87DD #FADD87 #87FAA4
square
#87A4FA #FA87DD #FADD87 #87FAA4
split-complementary
#87A4FA #FAA487 #DDFA87
monochromatic
#114BF5 #4C77F8 #87A4FA #C2D1FC #E2E9FE

Accessibility & contrast

On white

2.41
#87A4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#87A4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4FA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4FA#FFFFFF#000000##000000
##87A4FA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#5BB6C3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87a4fa;
/* rgb */ color: rgb(135, 164, 250);
/* oklch */ color: oklch(73.2% 0.129 268.9);
Tailwind
colors: {
  custom: {
    50: '#afbefc',
    500: '#87a4fa',
    950: '#000000',
  },
}
SCSS
$custom: #87a4fa;
$custom-light: #afbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4fa",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 224.87,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.12939,
    "h": 268.9
  },
  "luminance": 0.38604
}

Semantic roles & 50–950 ramp

primary
#87A4FA
secondary
#F6EED5
accent
#AC00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #87A4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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