#875AA6#875AA6

#875AA6 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.7% C 0.124 H 310.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#875AA6
RGBrgb(135, 90, 166)
HSLhsl(276, 30%, 50%)
HSVhsv(276, 46%, 65%)
CMYKcmyk(18.7%, 45.8%, 0%, 34.9%)
CIE-LABlab(45.93, 33.06, -33.94)
CIE-LCHlch(45.93, 47.38, 314.24°)
OKLaboklab(54.74% 0.0798 -0.0944)
OKLCHoklch(54.74% 0.124 310.2)
XYZxyz(20.5295, 15.2167, 37.9246)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AA6 #79A65A
analogous
#615AA6 #875AA6 #A65A9F
triadic
#875AA6 #A6875A #5AA687
tetradic
#875AA6 #A6615A #79A65A #5A9FA6
square
#875AA6 #A6615A #79A65A #5A9FA6
split-complementary
#875AA6 #9FA65A #5AA661
monochromatic
#462F57 #67447F #875AA6 #A482BB #C1AAD1

Accessibility & contrast

On white

5.19
#875AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#875AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AA6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AA6#FFFFFF#000000##FFFFFF
##875AA61.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#836678
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875aa6;
/* rgb */ color: rgb(135, 90, 166);
/* oklch */ color: oklch(54.7% 0.124 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab8ac1',
    500: '#875aa6',
    950: '#000000',
  },
}
SCSS
$custom: #875aa6;
$custom-light: #ab8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#875aa6",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 275.526,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.12361,
    "h": 310.2
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#875AA6
secondary
#ABBF9D
accent
#C6628B
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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