#877DDB#877DDB

#877DDB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.138 H 286.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#877DDB
RGBrgb(135, 125, 219)
HSLhsl(246, 57%, 67%)
HSVhsv(246, 43%, 86%)
CMYKcmyk(38.4%, 42.9%, 0%, 14.1%)
CIE-LABlab(57.01, 26.15, -46.93)
CIE-LCHlch(57.01, 53.72, 299.13°)
OKLaboklab(63.97% 0.0396 -0.1322)
OKLCHoklch(63.97% 0.138 286.7)
XYZxyz(30.1079, 24.9316, 70.2300)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DDB #D1DB7D
analogous
#7DA2DB #877DDB #B67DDB
triadic
#877DDB #DB877D #7DDB87
tetradic
#877DDB #DB7DA2 #D1DB7D #7DDBB6
square
#877DDB #DB7DA2 #D1DB7D #7DDBB6
split-complementary
#877DDB #DBB67D #A2DB7D
monochromatic
#3D30AE #5B4DCE #877DDB #B3ADE8 #DFDDF6

Accessibility & contrast

On white

3.51
#877DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#877DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DDB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DDB#FFFFFF#000000##000000
##877DDB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#5B86D9
Tritanopia (blue-blind)
#708FA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ddb;
/* rgb */ color: rgb(135, 125, 219);
/* oklch */ color: oklch(64.0% 0.138 286.7);
Tailwind
colors: {
  custom: {
    50: '#ada2e6',
    500: '#877ddb',
    950: '#000000',
  },
}
SCSS
$custom: #877ddb;
$custom-light: #ada2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#877ddb",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 246.383,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.13806,
    "h": 286.7
  },
  "luminance": 0.24933
}

Semantic roles & 50–950 ramp

primary
#877DDB
secondary
#E5E9CB
accent
#C421B3
background
#FAFAFE
surface
#F5F3FC
border
#CFCDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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