#877FF3#877FF3

#877FF3 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.168 H 283.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#877FF3
RGBrgb(135, 127, 243)
HSLhsl(244, 83%, 73%)
HSVhsv(244, 48%, 95%)
CMYKcmyk(44.4%, 47.7%, 0%, 4.7%)
CIE-LABlab(58.79, 31.72, -57.47)
CIE-LCHlch(58.79, 65.64, 298.89°)
OKLaboklab(65.73% 0.0403 -0.1631)
OKLCHoklch(65.73% 0.168 283.9)
XYZxyz(33.7540, 26.7992, 88.1709)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF3 #EBF37F
analogous
#7FB1F3 #877FF3 #C17FF3
triadic
#877FF3 #F3877F #7FF387
tetradic
#877FF3 #F37FB1 #EBF37F #7FF3C1
square
#877FF3 #F37FB1 #EBF37F #7FF3C1
split-complementary
#877FF3 #F3C17F #B1F37F
monochromatic
#2315E2 #5347EE #877FF3 #BBB7F8 #E5E3FC

Accessibility & contrast

On white

3.30
#877FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#877FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF3#FFFFFF#000000##000000
##877FF31.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F7
Deuteranopia (green-blind)
#498AF0
Tritanopia (blue-blind)
#6497AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ff3;
/* rgb */ color: rgb(135, 127, 243);
/* oklch */ color: oklch(65.7% 0.168 283.9);
Tailwind
colors: {
  custom: {
    50: '#afa4f8',
    500: '#877ff3',
    950: '#000000',
  },
}
SCSS
$custom: #877ff3;
$custom-light: #afa4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff3",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 244.138,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65732,
    "c": 0.16803,
    "h": 283.9
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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