#877AFF#877AFF

#877AFF is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.6% C 0.191 H 284.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#877AFF
RGBrgb(135, 122, 255)
HSLhsl(246, 100%, 74%)
HSVhsv(246, 52%, 100%)
CMYKcmyk(47.1%, 52.2%, 0%, 0%)
CIE-LABlab(58.31, 38.07, -64.86)
CIE-LCHlch(58.31, 75.21, 300.41°)
OKLaboklab(65.6% 0.047 -0.1848)
OKLCHoklch(65.6% 0.191 284.3)
XYZxyz(34.9959, 26.2883, 97.8185)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AFF #F2FF7A
analogous
#7AB0FF #877AFF #CA7AFF
triadic
#877AFF #FF877A #7AFF87
tetradic
#877AFF #FF7AB0 #F2FF7A #7AFFCA
square
#877AFF #FF7AB0 #F2FF7A #7AFFCA
split-complementary
#877AFF #FFCA7A #B0FF7A
monochromatic
#1900FF #503DFF #877AFF #BEB7FF #E3E0FF

Accessibility & contrast

On white

3.36
#877AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#877AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AFF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AFF#FFFFFF#000000##000000
##877AFF1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#2F88FC
Tritanopia (blue-blind)
#5D97B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877aff;
/* rgb */ color: rgb(135, 122, 255);
/* oklch */ color: oklch(65.6% 0.191 284.3);
Tailwind
colors: {
  custom: {
    50: '#b1a0ff',
    500: '#877aff',
    950: '#000000',
  },
}
SCSS
$custom: #877aff;
$custom-light: #b1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877aff",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 245.865,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.19072,
    "h": 284.3
  },
  "luminance": 0.2629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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