#877DFA#877DFA

#877DFA is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.180 H 283.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#877DFA
RGBrgb(135, 125, 250)
HSLhsl(245, 93%, 74%)
HSVhsv(245, 50%, 98%)
CMYKcmyk(46%, 50%, 0%, 2%)
CIE-LABlab(58.71, 34.89, -61.46)
CIE-LCHlch(58.71, 70.67, 299.58°)
OKLaboklab(65.81% 0.0433 -0.1748)
OKLCHoklch(65.81% 0.18 283.9)
XYZxyz(34.5755, 26.7187, 93.7593)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DFA #F0FA7D
analogous
#7DB1FA #877DFA #C57DFA
triadic
#877DFA #FA877D #7DFA87
tetradic
#877DFA #FA7DB1 #F0FA7D #7DFAC5
square
#877DFA #FA7DB1 #F0FA7D #7DFAC5
split-complementary
#877DFA #FAC57D #B1FA7D
monochromatic
#1C09F3 #5142F8 #877DFA #BDB8FC #E4E2FE

Accessibility & contrast

On white

3.31
#877DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#877DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DFA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DFA#FFFFFF#000000##000000
##877DFA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#6098B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877dfa;
/* rgb */ color: rgb(135, 125, 250);
/* oklch */ color: oklch(65.8% 0.180 283.9);
Tailwind
colors: {
  custom: {
    50: '#b0a3fd',
    500: '#877dfa',
    950: '#000000',
  },
}
SCSS
$custom: #877dfa;
$custom-light: #b0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877dfa",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 244.8,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.18012,
    "h": 283.9
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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