#877DF5#877DF5

#877DF5 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.5% C 0.173 H 284.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#877DF5
RGBrgb(135, 125, 245)
HSLhsl(245, 86%, 73%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(44.9%, 49%, 0%, 3.9%)
CIE-LABlab(58.42, 33.45, -59.16)
CIE-LCHlch(58.42, 67.97, 299.49°)
OKLaboklab(65.49% 0.0429 -0.1681)
OKLCHoklch(65.49% 0.173 284.3)
XYZxyz(33.8019, 26.4092, 89.6849)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF5 #EBF57D
analogous
#7DAFF5 #877DF5 #C37DF5
triadic
#877DF5 #F5877D #7DF587
tetradic
#877DF5 #F57DAF #EBF57D #7DF5C3
square
#877DF5 #F57DAF #EBF57D #7DF5C3
split-complementary
#877DF5 #F5C37D #AFF57D
monochromatic
#2312E6 #5344F1 #877DF5 #BBB6F9 #E5E3FD

Accessibility & contrast

On white

3.34
#877DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#877DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF5#FFFFFF#000000##000000
##877DF51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#6396AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df5;
/* rgb */ color: rgb(135, 125, 245);
/* oklch */ color: oklch(65.5% 0.173 284.3);
Tailwind
colors: {
  custom: {
    50: '#b0a2f9',
    500: '#877df5',
    950: '#000000',
  },
}
SCSS
$custom: #877df5;
$custom-light: #b0a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877df5",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 245,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.17347,
    "h": 284.3
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#877DF5
secondary
#F2F5D6
accent
#E203D0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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