#877CFA#877CFA

#877CFA is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.181 H 284.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#877CFA
RGBrgb(135, 124, 250)
HSLhsl(245, 93%, 73%)
HSVhsv(245, 50%, 98%)
CMYKcmyk(46%, 50.4%, 0%, 2%)
CIE-LABlab(58.48, 35.47, -61.84)
CIE-LCHlch(58.48, 71.29, 299.84°)
OKLaboklab(65.63% 0.0444 -0.1759)
OKLCHoklch(65.63% 0.181 284.2)
XYZxyz(34.4496, 26.4667, 93.7174)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFA #EFFA7C
analogous
#7CB0FA #877CFA #C67CFA
triadic
#877CFA #FA877C #7CFA87
tetradic
#877CFA #FA7CB0 #EFFA7C #7CFAC6
square
#877CFA #FA7CB0 #EFFA7C #7CFAC6
split-complementary
#877CFA #FAC67C #B0FA7C
monochromatic
#1E09F2 #5141F8 #877CFA #BDB7FC #E4E2FE

Accessibility & contrast

On white

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

On black

6.29
#877CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CFA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CFA#FFFFFF#000000##000000
##877CFA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FE
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#6097AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cfa;
/* rgb */ color: rgb(135, 124, 250);
/* oklch */ color: oklch(65.6% 0.181 284.2);
Tailwind
colors: {
  custom: {
    50: '#b0a2fd',
    500: '#877cfa',
    950: '#000000',
  },
}
SCSS
$custom: #877cfa;
$custom-light: #b0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877cfa",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 245.238,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65628,
    "c": 0.18147,
    "h": 284.2
  },
  "luminance": 0.26468
}

Semantic roles & 50–950 ramp

primary
#877CFA
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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