#877DF3#877DF3

#877DF3 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.171 H 284.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#877DF3
RGBrgb(135, 125, 243)
HSLhsl(245, 83%, 72%)
HSVhsv(245, 49%, 95%)
CMYKcmyk(44.4%, 48.6%, 0%, 4.7%)
CIE-LABlab(58.31, 32.88, -58.24)
CIE-LCHlch(58.31, 66.88, 299.45°)
OKLaboklab(65.37% 0.0427 -0.1654)
OKLCHoklch(65.37% 0.171 284.5)
XYZxyz(33.4982, 26.2877, 88.0856)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF3 #E9F37D
analogous
#7DAEF3 #877DF3 #C27DF3
triadic
#877DF3 #F3877D #7DF387
tetradic
#877DF3 #F37DAE #E9F37D #7DF3C2
square
#877DF3 #F37DAE #E9F37D #7DF3C2
split-complementary
#877DF3 #F3C27D #AEF37D
monochromatic
#2615E1 #5345EE #877DF3 #BBB5F8 #E5E3FC

Accessibility & contrast

On white

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

On black

6.26
#877DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF3#FFFFFF#000000##000000
##877DF31.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#4689F0
Tritanopia (blue-blind)
#6496AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df3;
/* rgb */ color: rgb(135, 125, 243);
/* oklch */ color: oklch(65.4% 0.171 284.5);
Tailwind
colors: {
  custom: {
    50: '#afa2f8',
    500: '#877df3',
    950: '#000000',
  },
}
SCSS
$custom: #877df3;
$custom-light: #afa2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877df3",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 245.085,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65371,
    "c": 0.1708,
    "h": 284.5
  },
  "luminance": 0.26289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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