#875BB7#875BB7

#875BB7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.143 H 304.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#875BB7
RGBrgb(135, 91, 183)
HSLhsl(269, 39%, 54%)
HSVhsv(269, 50%, 72%)
CMYKcmyk(26.2%, 50.3%, 0%, 28.2%)
CIE-LABlab(47.04, 36.55, -42.15)
CIE-LCHlch(47.04, 55.79, 310.93°)
OKLaboklab(55.86% 0.0805 -0.1183)
OKLCHoklch(55.86% 0.143 304.2)
XYZxyz(22.2782, 16.0520, 46.7153)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB7 #8BB75B
analogous
#5B5DB7 #875BB7 #B55BB7
triadic
#875BB7 #B7875B #5BB787
tetradic
#875BB7 #B75B5D #8BB75B #5BB7B5
square
#875BB7 #B75B5D #8BB75B #5BB7B5
split-complementary
#875BB7 #B7B55B #5DB75B
monochromatic
#4B2E69 #694194 #875BB7 #A686CA #C5B0DC

Accessibility & contrast

On white

4.99
#875BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#875BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB7#FFFFFF#000000##FFFFFF
##875BB71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#7F6B80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875bb7;
/* rgb */ color: rgb(135, 91, 183);
/* oklch */ color: oklch(55.9% 0.143 304.2);
Tailwind
colors: {
  custom: {
    50: '#ac8acd',
    500: '#875bb7',
    950: '#000000',
  },
}
SCSS
$custom: #875bb7;
$custom-light: #ac8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb7",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 268.696,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.14312,
    "h": 304.2
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#875BB7
secondary
#B8CBA3
accent
#CF5996
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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