#877DF0#877DF0

#877DF0 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.2% C 0.167 H 284.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#877DF0
RGBrgb(135, 125, 240)
HSLhsl(245, 79%, 72%)
HSVhsv(245, 48%, 94%)
CMYKcmyk(43.8%, 47.9%, 0%, 5.9%)
CIE-LABlab(58.14, 32.03, -56.85)
CIE-LCHlch(58.14, 65.25, 299.40°)
OKLaboklab(65.19% 0.0424 -0.1613)
OKLCHoklch(65.19% 0.167 284.7)
XYZxyz(33.0489, 26.1080, 85.7192)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF0 #E6F07D
analogous
#7DADF0 #877DF0 #C17DF0
triadic
#877DF0 #F0877D #7DF087
tetradic
#877DF0 #F07DAD #E6F07D #7DF0C1
square
#877DF0 #F07DAD #E6F07D #7DF0C1
split-complementary
#877DF0 #F0C17D #ADF07D
monochromatic
#2A19DA #5446EA #877DF0 #BAB4F6 #E6E4FC

Accessibility & contrast

On white

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

On black

6.22
#877DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF0#FFFFFF#000000##000000
##877DF01.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF4
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#6695AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df0;
/* rgb */ color: rgb(135, 125, 240);
/* oklch */ color: oklch(65.2% 0.167 284.7);
Tailwind
colors: {
  custom: {
    50: '#afa2f5',
    500: '#877df0',
    950: '#000000',
  },
}
SCSS
$custom: #877df0;
$custom-light: #afa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877df0",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 245.217,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65189,
    "c": 0.16676,
    "h": 284.7
  },
  "luminance": 0.26109
}

Semantic roles & 50–950 ramp

primary
#877DF0
secondary
#F1F3D6
accent
#DC0AC9
background
#FBFAFF
surface
#F6F3FE
border
#D0CDD6
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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