#877DF1#877DF1

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

Color values

HEX#877DF1
RGBrgb(135, 125, 241)
HSLhsl(245, 81%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(44%, 48.1%, 0%, 5.5%)
CIE-LABlab(58.20, 32.31, -57.31)
CIE-LCHlch(58.20, 65.79, 299.42°)
OKLaboklab(65.25% 0.0425 -0.1627)
OKLCHoklch(65.25% 0.168 284.6)
XYZxyz(33.1979, 26.1676, 86.5037)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF1 #E7F17D
analogous
#7DADF1 #877DF1 #C17DF1
triadic
#877DF1 #F1877D #7DF187
tetradic
#877DF1 #F17DAD #E7F17D #7DF1C1
square
#877DF1 #F17DAD #E7F17D #7DF1C1
split-complementary
#877DF1 #F1C17D #ADF17D
monochromatic
#2918DC #5446EB #877DF1 #BAB4F7 #E5E3FC

Accessibility & contrast

On white

3.37
#877DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF1#FFFFFF#000000##000000
##877DF11.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF5
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#6595AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df1;
/* rgb */ color: rgb(135, 125, 241);
/* oklch */ color: oklch(65.2% 0.168 284.6);
Tailwind
colors: {
  custom: {
    50: '#afa2f6',
    500: '#877df1',
    950: '#000000',
  },
}
SCSS
$custom: #877df1;
$custom-light: #afa2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#877df1",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 245.172,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65249,
    "c": 0.16812,
    "h": 284.6
  },
  "luminance": 0.26169
}

Semantic roles & 50–950 ramp

primary
#877DF1
secondary
#F1F4D6
accent
#DD09CB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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