#877AF7#877AF7

#877AF7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.1% C 0.180 H 284.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#877AF7
RGBrgb(135, 122, 247)
HSLhsl(246, 89%, 72%)
HSVhsv(246, 51%, 97%)
CMYKcmyk(45.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(57.83, 35.77, -61.22)
CIE-LCHlch(57.83, 70.90, 300.30°)
OKLaboklab(65.09% 0.0465 -0.1741)
OKLCHoklch(65.09% 0.18 284.9)
XYZxyz(33.7348, 25.7839, 91.1769)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF7 #EAF77A
analogous
#7AACF7 #877AF7 #C67AF7
triadic
#877AF7 #F7877A #7AF787
tetradic
#877AF7 #F77AAC #EAF77A #7AF7C6
square
#877AF7 #F77AAC #EAF77A #7AF7C6
split-complementary
#877AF7 #F7C67A #ACF77A
monochromatic
#250EE9 #5340F4 #877AF7 #BBB4FA #E5E2FD

Accessibility & contrast

On white

3.41
#877AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#877AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF7#FFFFFF#000000##000000
##877AF71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#3B87F4
Tritanopia (blue-blind)
#6295AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877af7;
/* rgb */ color: rgb(135, 122, 247);
/* oklch */ color: oklch(65.1% 0.180 284.9);
Tailwind
colors: {
  custom: {
    50: '#b0a0fa',
    500: '#877af7',
    950: '#000000',
  },
}
SCSS
$custom: #877af7;
$custom-light: #b0a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877af7",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 246.24,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65088,
    "c": 0.18024,
    "h": 284.9
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

primary
#877AF7
secondary
#F2F5D6
accent
#E500CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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