#877DB7#877DB7

#877DB7 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.1% C 0.087 H 291.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#877DB7
RGBrgb(135, 125, 183)
HSLhsl(250, 29%, 60%)
HSVhsv(250, 32%, 72%)
CMYKcmyk(26.2%, 31.7%, 0%, 28.2%)
CIE-LABlab(55.32, 16.64, -29.17)
CIE-LCHlch(55.32, 33.58, 299.71°)
OKLaboklab(62.12% 0.0319 -0.0808)
OKLCHoklch(62.12% 0.087 291.6)
XYZxyz(25.8704, 23.2366, 47.9127)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DB7 #ADB77D
analogous
#7D90B7 #877DB7 #A47DB7
triadic
#877DB7 #B7877D #7DB787
tetradic
#877DB7 #B77D90 #ADB77D #7DB7A4
square
#877DB7 #B77D90 #ADB77D #7DB7A4
split-complementary
#877DB7 #B7A47D #90B77D
monochromatic
#4B4277 #64589F #877DB7 #ABA4CD #D0CCE3

Accessibility & contrast

On white

3.72
#877DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#877DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DB7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DB7#FFFFFF#000000##000000
##877DB71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E85B9
Deuteranopia (green-blind)
#6F83B5
Tritanopia (blue-blind)
#7D8792
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877db7;
/* rgb */ color: rgb(135, 125, 183);
/* oklch */ color: oklch(62.1% 0.087 291.6);
Tailwind
colors: {
  custom: {
    50: '#aba2cd',
    500: '#877db7',
    950: '#000000',
  },
}
SCSS
$custom: #877db7;
$custom-light: #aba2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#877db7",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 250.345,
    "s": 28.713,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.08689,
    "h": 291.6
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#877DB7
secondary
#CFD3BD
accent
#A73E95
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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