#877CF4#877CF4

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

Color values

HEX#877CF4
RGBrgb(135, 124, 244)
HSLhsl(246, 85%, 72%)
HSVhsv(246, 49%, 96%)
CMYKcmyk(44.7%, 49.2%, 0%, 4.3%)
CIE-LABlab(58.13, 33.75, -59.08)
CIE-LCHlch(58.13, 68.04, 299.74°)
OKLaboklab(65.25% 0.0439 -0.1679)
OKLCHoklch(65.25% 0.174 284.7)
XYZxyz(33.5237, 26.0964, 88.8411)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF4 #E9F47C
analogous
#7CADF4 #877CF4 #C37CF4
triadic
#877CF4 #F4877C #7CF487
tetradic
#877CF4 #F47CAD #E9F47C #7CF4C3
square
#877CF4 #F47CAD #E9F47C #7CF4C3
split-complementary
#877CF4 #F4C37C #ADF47C
monochromatic
#2613E3 #5344EF #877CF4 #BBB4F9 #E5E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CF4#FFFFFF#000000##000000
##877CF41.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)
#478FF8
Deuteranopia (green-blind)
#4388F1
Tritanopia (blue-blind)
#6495AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf4;
/* rgb */ color: rgb(135, 124, 244);
/* oklch */ color: oklch(65.3% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a2f8',
    500: '#877cf4',
    950: '#000000',
  },
}
SCSS
$custom: #877cf4;
$custom-light: #b0a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf4",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 245.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65254,
    "c": 0.17352,
    "h": 284.7
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#877CF4
secondary
#F2F5D6
accent
#E105CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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