#877EAF#877EAF

#877EAF is a mid, moderate violet. Relative luminance 0.232; OKLCH L 62.0% C 0.074 H 292.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#877EAF
RGBrgb(135, 126, 175)
HSLhsl(251, 23%, 59%)
HSVhsv(251, 28%, 69%)
CMYKcmyk(22.9%, 28%, 0%, 31.4%)
CIE-LABlab(55.24, 14.08, -24.68)
CIE-LCHlch(55.24, 28.42, 299.69°)
OKLaboklab(61.96% 0.0282 -0.068)
OKLCHoklch(61.96% 0.074 292.5)
XYZxyz(25.1886, 23.1674, 43.6938)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EAF #A6AF7E
analogous
#7E8EAF #877EAF #A07EAF
triadic
#877EAF #AF877E #7EAF87
tetradic
#877EAF #AF7E8E #A6AF7E #7EAFA0
square
#877EAF #AF7E8E #A6AF7E #7EAFA0
split-complementary
#877EAF #AFA07E #8EAF7E
monochromatic
#4C446E #665C94 #877EAF #AAA4C6 #CDCADE

Accessibility & contrast

On white

3.73
#877EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#877EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EAF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EAF#FFFFFF#000000##000000
##877EAF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B1
Deuteranopia (green-blind)
#7383AE
Tritanopia (blue-blind)
#7F868F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877eaf;
/* rgb */ color: rgb(135, 126, 175);
/* oklch */ color: oklch(62.0% 0.074 292.5);
Tailwind
colors: {
  custom: {
    50: '#aaa3c7',
    500: '#877eaf',
    950: '#000000',
  },
}
SCSS
$custom: #877eaf;
$custom-light: #aaa3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#877eaf",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 251.02,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.07365,
    "h": 292.5
  },
  "luminance": 0.23168
}

Semantic roles & 50–950 ramp

primary
#877EAF
secondary
#CACEBB
accent
#C068B0
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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