#877DF2#877DF2

#877DF2 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.169 H 284.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#877DF2
RGBrgb(135, 125, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(44.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(58.25, 32.60, -57.77)
CIE-LCHlch(58.25, 66.34, 299.43°)
OKLaboklab(65.31% 0.0426 -0.164)
OKLCHoklch(65.31% 0.169 284.6)
XYZxyz(33.3476, 26.2275, 87.2925)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF2 #E8F27D
analogous
#7DAEF2 #877DF2 #C27DF2
triadic
#877DF2 #F2877D #7DF287
tetradic
#877DF2 #F27DAE #E8F27D #7DF2C2
square
#877DF2 #F27DAE #E8F27D #7DF2C2
split-complementary
#877DF2 #F2C27D #AEF27D
monochromatic
#2716DE #5445EC #877DF2 #BAB5F8 #E5E3FC

Accessibility & contrast

On white

3.36
#877DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#877DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF2#FFFFFF#000000##000000
##877DF21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#6596AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df2;
/* rgb */ color: rgb(135, 125, 242);
/* oklch */ color: oklch(65.3% 0.169 284.6);
Tailwind
colors: {
  custom: {
    50: '#afa2f7',
    500: '#877df2',
    950: '#000000',
  },
}
SCSS
$custom: #877df2;
$custom-light: #afa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877df2",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 245.128,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6531,
    "c": 0.16946,
    "h": 284.6
  },
  "luminance": 0.26229
}

Semantic roles & 50–950 ramp

primary
#877DF2
secondary
#F2F4D7
accent
#DE07CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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