#87A2FF#87A2FF

#87A2FF is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.1% C 0.139 H 270.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#87A2FF
RGBrgb(135, 162, 255)
HSLhsl(227, 100%, 76%)
HSVhsv(227, 47%, 100%)
CMYKcmyk(47.1%, 36.5%, 0%, 0%)
CIE-LABlab(68.17, 14.84, -49.15)
CIE-LCHlch(68.17, 51.34, 286.80°)
OKLaboklab(73.09% 0.001 -0.1386)
OKLCHoklch(73.09% 0.139 270.4)
XYZxyz(40.9563, 38.2091, 99.8053)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2FF #FFE487
analogous
#87DEFF #87A2FF #A887FF
triadic
#87A2FF #FF87A2 #A2FF87
tetradic
#87A2FF #FF87DE #FFE487 #87FFA8
square
#87A2FF #FF87DE #FFE487 #87FFA8
split-complementary
#87A2FF #FFA887 #DEFF87
monochromatic
#0D43FF #4A73FF #87A2FF #C4D1FF #E0E7FF

Accessibility & contrast

On white

2.43
#87A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#87A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2FF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2FF#FFFFFF#000000##000000
##87A2FF1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#73A1FD
Tritanopia (blue-blind)
#58B5C4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a2ff;
/* rgb */ color: rgb(135, 162, 255);
/* oklch */ color: oklch(73.1% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#afbdff',
    500: '#87a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #87a2ff;
$custom-light: #afbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2ff",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 226.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73093,
    "c": 0.1386,
    "h": 270.4
  },
  "luminance": 0.38212
}

Semantic roles & 50–950 ramp

primary
#87A2FF
secondary
#F7EFD4
accent
#B200E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #87A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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