#877AFD#877AFD

#877AFD is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.188 H 284.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#877AFD
RGBrgb(135, 122, 253)
HSLhsl(246, 97%, 74%)
HSVhsv(246, 52%, 99%)
CMYKcmyk(46.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(58.19, 37.49, -63.95)
CIE-LCHlch(58.19, 74.13, 300.38°)
OKLaboklab(65.47% 0.0469 -0.1822)
OKLCHoklch(65.47% 0.188 284.4)
XYZxyz(34.6756, 26.1602, 96.1318)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AFD #F0FD7A
analogous
#7AAEFD #877AFD #C87AFD
triadic
#877AFD #FD877A #7AFD87
tetradic
#877AFD #FD7AAE #F0FD7A #7AFDC8
square
#877AFD #FD7AAE #F0FD7A #7AFDC8
split-complementary
#877AFD #FDC87A #AEFD7A
monochromatic
#1C04F9 #513EFC #877AFD #BDB6FE #E4E1FF

Accessibility & contrast

On white

3.37
#877AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AFD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AFD#FFFFFF#000000##000000
##877AFD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#3388FA
Tritanopia (blue-blind)
#5F96B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877afd;
/* rgb */ color: rgb(135, 122, 253);
/* oklch */ color: oklch(65.5% 0.188 284.4);
Tailwind
colors: {
  custom: {
    50: '#b1a0ff',
    500: '#877afd',
    950: '#000000',
  },
}
SCSS
$custom: #877afd;
$custom-light: #b1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877afd",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 245.954,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.18812,
    "h": 284.4
  },
  "luminance": 0.26162
}

Semantic roles & 50–950 ramp

primary
#877AFD
secondary
#F3F7D4
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #877AFD

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

Preview Lab → · Contrast checker → · Palette generator →

#877AFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva