#87A2FC#87A2FC

#87A2FC is a light, vivid blue. Relative luminance 0.380; OKLCH L 72.9% C 0.135 H 270.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#87A2FC
RGBrgb(135, 162, 252)
HSLhsl(226, 95%, 76%)
HSVhsv(226, 46%, 99%)
CMYKcmyk(46.4%, 35.7%, 0%, 1.2%)
CIE-LABlab(68.03, 13.97, -47.74)
CIE-LCHlch(68.03, 49.74, 286.30°)
OKLaboklab(72.94% 0.0004 -0.1345)
OKLCHoklch(72.94% 0.135 270.2)
XYZxyz(40.4771, 38.0174, 97.2818)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2FC #FCE187
analogous
#87DCFC #87A2FC #A687FC
triadic
#87A2FC #FC87A2 #A2FC87
tetradic
#87A2FC #FC87DC #FCE187 #87FCA6
square
#87A2FC #FC87DC #FCE187 #87FCA6
split-complementary
#87A2FC #FCA687 #DCFC87
monochromatic
#1045F9 #4B74FB #87A2FC #C3D0FD #E1E8FE

Accessibility & contrast

On white

2.44
#87A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#87A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2FC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2FC#FFFFFF#000000##000000
##87A2FC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#5AB5C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a2fc;
/* rgb */ color: rgb(135, 162, 252);
/* oklch */ color: oklch(72.9% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#afbdfe',
    500: '#87a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #87a2fc;
$custom-light: #afbdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2fc",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 226.154,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.1345,
    "h": 270.2
  },
  "luminance": 0.3802
}

Semantic roles & 50–950 ramp

primary
#87A2FC
secondary
#F6EFD5
accent
#B100E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #87A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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