#877AF9#877AF9

#877AF9 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.2% C 0.183 H 284.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#877AF9
RGBrgb(135, 122, 249)
HSLhsl(246, 91%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(45.8%, 51%, 0%, 2.4%)
CIE-LABlab(57.95, 36.34, -62.13)
CIE-LCHlch(57.95, 71.98, 300.33°)
OKLaboklab(65.21% 0.0466 -0.1768)
OKLCHoklch(65.21% 0.183 284.8)
XYZxyz(34.0451, 25.9080, 92.8110)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF9 #ECF97A
analogous
#7AACF9 #877AF9 #C77AF9
triadic
#877AF9 #F9877A #7AF987
tetradic
#877AF9 #F97AAC #ECF97A #7AF9C7
square
#877AF9 #F97AAC #ECF97A #7AF9C7
split-complementary
#877AF9 #F9C77A #ACF97A
monochromatic
#220BEE #523FF6 #877AF9 #BCB5FC #E5E2FE

Accessibility & contrast

On white

3.40
#877AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#877AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF9#FFFFFF#000000##000000
##877AF91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFD
Deuteranopia (green-blind)
#3987F6
Tritanopia (blue-blind)
#6195AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877af9;
/* rgb */ color: rgb(135, 122, 249);
/* oklch */ color: oklch(65.2% 0.183 284.8);
Tailwind
colors: {
  custom: {
    50: '#b0a0fc',
    500: '#877af9',
    950: '#000000',
  },
}
SCSS
$custom: #877af9;
$custom-light: #b0a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#877af9",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 246.142,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65214,
    "c": 0.18287,
    "h": 284.8
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#877AF9
secondary
#F2F6D5
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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