#875BB9#875BB9

#875BB9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.146 H 303.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#875BB9
RGBrgb(135, 91, 185)
HSLhsl(268, 40%, 54%)
HSVhsv(268, 51%, 73%)
CMYKcmyk(27%, 50.8%, 0%, 27.5%)
CIE-LABlab(47.15, 37.04, -43.14)
CIE-LCHlch(47.15, 56.86, 310.65°)
OKLaboklab(55.98% 0.0807 -0.1212)
OKLCHoklch(55.98% 0.146 303.7)
XYZxyz(22.4878, 16.1359, 47.8194)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB9 #8DB95B
analogous
#5B5EB9 #875BB9 #B65BB9
triadic
#875BB9 #B9875B #5BB987
tetradic
#875BB9 #B95B5E #8DB95B #5BB9B6
square
#875BB9 #B95B5E #8DB95B #5BB9B6
split-complementary
#875BB9 #B9B65B #5EB95B
monochromatic
#4B2E6C #694097 #875BB9 #A686CB #C6B1DE

Accessibility & contrast

On white

4.97
#875BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#875BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB9#FFFFFF#000000##FFFFFF
##875BB91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#7E6C81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875bb9;
/* rgb */ color: rgb(135, 91, 185);
/* oklch */ color: oklch(56.0% 0.146 303.7);
Tailwind
colors: {
  custom: {
    50: '#ac8ace',
    500: '#875bb9',
    950: '#000000',
  },
}
SCSS
$custom: #875bb9;
$custom-light: #ac8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb9",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 268.085,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.14563,
    "h": 303.7
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#875BB9
secondary
#B9CCA4
accent
#D05898
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#875BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva