#875BB6#875BB6

#875BB6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.142 H 304.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875BB6
RGBrgb(135, 91, 182)
HSLhsl(269, 38%, 54%)
HSVhsv(269, 50%, 71%)
CMYKcmyk(25.8%, 50%, 0%, 28.6%)
CIE-LABlab(46.99, 36.30, -41.65)
CIE-LCHlch(46.99, 55.25, 311.07°)
OKLaboklab(55.8% 0.0804 -0.1169)
OKLCHoklch(55.8% 0.142 304.5)
XYZxyz(22.1744, 16.0106, 46.1691)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB6 #8AB65B
analogous
#5B5CB6 #875BB6 #B45BB6
triadic
#875BB6 #B6875B #5BB687
tetradic
#875BB6 #B65B5C #8AB65B #5BB6B4
square
#875BB6 #B65B5C #8AB65B #5BB6B4
split-complementary
#875BB6 #B6B45B #5CB65B
monochromatic
#4A2E68 #694193 #875BB6 #A685C9 #C5B0DC

Accessibility & contrast

On white

5.00
#875BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#875BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB6#FFFFFF#000000##FFFFFF
##875BB61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406EB9
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#7F6B80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb6;
/* rgb */ color: rgb(135, 91, 182);
/* oklch */ color: oklch(55.8% 0.142 304.5);
Tailwind
colors: {
  custom: {
    50: '#ac8acc',
    500: '#875bb6',
    950: '#000000',
  },
}
SCSS
$custom: #875bb6;
$custom-light: #ac8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb6",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 269.011,
    "s": 38.397,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.14187,
    "h": 304.5
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#875BB6
secondary
#B7CAA3
accent
#CE5996
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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