#877FDB#877FDB

#877FDB is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.3% C 0.135 H 285.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#877FDB
RGBrgb(135, 127, 219)
HSLhsl(245, 56%, 68%)
HSVhsv(245, 42%, 86%)
CMYKcmyk(38.4%, 42%, 0%, 14.1%)
CIE-LABlab(57.50, 24.97, -46.14)
CIE-LCHlch(57.50, 52.47, 298.42°)
OKLaboklab(64.34% 0.0371 -0.13)
OKLCHoklch(64.34% 0.135 285.9)
XYZxyz(30.3637, 25.4431, 70.3153)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FDB #D3DB7F
analogous
#7FA5DB #877FDB #B57FDB
triadic
#877FDB #DB877F #7FDB87
tetradic
#877FDB #DB7FA5 #D3DB7F #7FDBB5
square
#877FDB #DB7FA5 #D3DB7F #7FDBB5
split-complementary
#877FDB #DBB57F #A5DB7F
monochromatic
#3C31AF #5A4FCE #877FDB #B4AFE8 #E1DFF6

Accessibility & contrast

On white

3.45
#877FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#877FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FDB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FDB#FFFFFF#000000##000000
##877FDB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDE
Deuteranopia (green-blind)
#5D87D9
Tritanopia (blue-blind)
#7091A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fdb;
/* rgb */ color: rgb(135, 127, 219);
/* oklch */ color: oklch(64.3% 0.135 285.9);
Tailwind
colors: {
  custom: {
    50: '#ada4e6',
    500: '#877fdb',
    950: '#000000',
  },
}
SCSS
$custom: #877fdb;
$custom-light: #ada4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#877fdb",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 245.217,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64344,
    "c": 0.13514,
    "h": 285.9
  },
  "luminance": 0.25444
}

Semantic roles & 50–950 ramp

primary
#877FDB
secondary
#E7E9CD
accent
#C422B6
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #877FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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