#87A2FA#87A2FA

#87A2FA is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.8% C 0.132 H 270.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#87A2FA
RGBrgb(135, 162, 250)
HSLhsl(226, 92%, 75%)
HSVhsv(226, 46%, 98%)
CMYKcmyk(46%, 35.2%, 0%, 2%)
CIE-LABlab(67.94, 13.39, -46.80)
CIE-LCHlch(67.94, 48.68, 285.96°)
OKLaboklab(72.84% -0.0001 -0.1318)
OKLCHoklch(72.84% 0.132 270)
XYZxyz(40.1619, 37.8913, 95.6215)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2FA #FADF87
analogous
#87DBFA #87A2FA #A587FA
triadic
#87A2FA #FA87A2 #A2FA87
tetradic
#87A2FA #FA87DB #FADF87 #87FAA5
square
#87A2FA #FA87DB #FADF87 #87FAA5
split-complementary
#87A2FA #FAA587 #DBFA87
monochromatic
#1147F5 #4C74F8 #87A2FA #C2D0FC #E2E8FE

Accessibility & contrast

On white

2.45
#87A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#87A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2FA#FFFFFF#000000##000000
##87A2FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#5BB4C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a2fa;
/* rgb */ color: rgb(135, 162, 250);
/* oklch */ color: oklch(72.8% 0.132 270.0);
Tailwind
colors: {
  custom: {
    50: '#afbdfc',
    500: '#87a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #87a2fa;
$custom-light: #afbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2fa",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 225.913,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.13176,
    "h": 270
  },
  "luminance": 0.37894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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