#877FF2#877FF2

#877FF2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.167 H 284.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#877FF2
RGBrgb(135, 127, 242)
HSLhsl(244, 82%, 72%)
HSVhsv(244, 48%, 95%)
CMYKcmyk(44.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(58.73, 31.43, -57.01)
CIE-LCHlch(58.73, 65.10, 298.87°)
OKLaboklab(65.67% 0.0402 -0.1618)
OKLCHoklch(65.67% 0.167 284)
XYZxyz(33.6034, 26.7390, 87.3777)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF2 #EAF27F
analogous
#7FB1F2 #877FF2 #C17FF2
triadic
#877FF2 #F2877F #7FF287
tetradic
#877FF2 #F27FB1 #EAF27F #7FF2C1
square
#877FF2 #F27FB1 #EAF27F #7FF2C1
split-complementary
#877FF2 #F2C17F #B1F27F
monochromatic
#2517E0 #5347EC #877FF2 #BBB7F8 #E5E3FC

Accessibility & contrast

On white

3.31
#877FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#877FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF2#FFFFFF#000000##000000
##877FF21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#4A8AEF
Tritanopia (blue-blind)
#6597AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ff2;
/* rgb */ color: rgb(135, 127, 242);
/* oklch */ color: oklch(65.7% 0.167 284.0);
Tailwind
colors: {
  custom: {
    50: '#afa4f7',
    500: '#877ff2',
    950: '#000000',
  },
}
SCSS
$custom: #877ff2;
$custom-light: #afa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 244.174,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65671,
    "c": 0.16668,
    "h": 284
  },
  "luminance": 0.2674
}

Semantic roles & 50–950 ramp

primary
#877FF2
secondary
#F2F4D7
accent
#DE08CF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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