#877EB3#877EB3

#877EB3 is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.1% C 0.079 H 291.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#877EB3
RGBrgb(135, 126, 179)
HSLhsl(250, 26%, 60%)
HSVhsv(250, 30%, 70%)
CMYKcmyk(24.6%, 29.6%, 0%, 29.8%)
CIE-LABlab(55.41, 15.06, -26.73)
CIE-LCHlch(55.41, 30.68, 299.39°)
OKLaboklab(62.14% 0.0294 -0.0738)
OKLCHoklch(62.14% 0.079 291.7)
XYZxyz(25.5873, 23.3269, 45.7936)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EB3 #AAB37E
analogous
#7E8FB3 #877EB3 #A27EB3
triadic
#877EB3 #B3877E #7EB387
tetradic
#877EB3 #B37E8F #AAB37E #7EB3A2
square
#877EB3 #B37E8F #AAB37E #7EB3A2
split-complementary
#877EB3 #B3A27E #8FB37E
monochromatic
#4C4473 #655A99 #877EB3 #ABA5CA #CFCBE0

Accessibility & contrast

On white

3.71
#877EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#877EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EB3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EB3#FFFFFF#000000##000000
##877EB31.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#7E8791
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877eb3;
/* rgb */ color: rgb(135, 126, 179);
/* oklch */ color: oklch(62.1% 0.079 291.7);
Tailwind
colors: {
  custom: {
    50: '#aba3ca',
    500: '#877eb3',
    950: '#000000',
  },
}
SCSS
$custom: #877eb3;
$custom-light: #aba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877eb3",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 250.189,
    "s": 25.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.07948,
    "h": 291.7
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#877EB3
secondary
#CDD1BC
accent
#C266B3
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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