#877DEF#877DEF

#877DEF is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.165 H 284.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#877DEF
RGBrgb(135, 125, 239)
HSLhsl(245, 78%, 71%)
HSVhsv(245, 48%, 94%)
CMYKcmyk(43.5%, 47.7%, 0%, 6.3%)
CIE-LABlab(58.08, 31.74, -56.38)
CIE-LCHlch(58.08, 64.70, 299.38°)
OKLaboklab(65.13% 0.0423 -0.1599)
OKLCHoklch(65.13% 0.165 284.8)
XYZxyz(32.9008, 26.0488, 84.9390)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DEF #E5EF7D
analogous
#7DACEF #877DEF #C07DEF
triadic
#877DEF #EF877D #7DEF87
tetradic
#877DEF #EF7DAC #E5EF7D #7DEFC0
square
#877DEF #EF7DAC #E5EF7D #7DEFC0
split-complementary
#877DEF #EFC07D #ACEF7D
monochromatic
#2B1AD7 #5547E8 #877DEF #B9B3F6 #E6E4FC

Accessibility & contrast

On white

3.38
#877DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#877DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DEF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DEF#FFFFFF#000000##000000
##877DEF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#6695AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877def;
/* rgb */ color: rgb(135, 125, 239);
/* oklch */ color: oklch(65.1% 0.165 284.8);
Tailwind
colors: {
  custom: {
    50: '#afa2f5',
    500: '#877def',
    950: '#000000',
  },
}
SCSS
$custom: #877def;
$custom-light: #afa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877def",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 245.263,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65128,
    "c": 0.16542,
    "h": 284.8
  },
  "luminance": 0.2605
}

Semantic roles & 50–950 ramp

primary
#877DEF
secondary
#F0F3D5
accent
#DA0BC8
background
#FBFAFF
surface
#F6F3FE
border
#D0CDD6
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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