#877AF8#877AF8

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

Color values

HEX#877AF8
RGBrgb(135, 122, 248)
HSLhsl(246, 90%, 73%)
HSVhsv(246, 51%, 97%)
CMYKcmyk(45.6%, 50.8%, 0%, 2.7%)
CIE-LABlab(57.89, 36.06, -61.67)
CIE-LCHlch(57.89, 71.44, 300.31°)
OKLaboklab(65.15% 0.0466 -0.1755)
OKLCHoklch(65.15% 0.182 284.9)
XYZxyz(33.8895, 25.8458, 91.9918)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF8 #EBF87A
analogous
#7AACF8 #877AF8 #C67AF8
triadic
#877AF8 #F8877A #7AF887
tetradic
#877AF8 #F87AAC #EBF87A #7AF8C6
square
#877AF8 #F87AAC #EBF87A #7AF8C6
split-complementary
#877AF8 #F8C67A #ACF87A
monochromatic
#230CEB #5340F5 #877AF8 #BBB4FB #E5E2FD

Accessibility & contrast

On white

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

On black

6.17
#877AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF8#FFFFFF#000000##000000
##877AF81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFC
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#6295AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877af8;
/* rgb */ color: rgb(135, 122, 248);
/* oklch */ color: oklch(65.2% 0.182 284.9);
Tailwind
colors: {
  custom: {
    50: '#b0a0fb',
    500: '#877af8',
    950: '#000000',
  },
}
SCSS
$custom: #877af8;
$custom-light: #b0a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#877af8",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 246.19,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.18155,
    "h": 284.9
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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