#875CA1#875CA1

#875CA1 is a mid, moderate violet. Relative luminance 0.154; OKLCH L 54.8% C 0.114 H 311.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#875CA1
RGBrgb(135, 92, 161)
HSLhsl(277, 27%, 50%)
HSVhsv(277, 43%, 63%)
CMYKcmyk(16.1%, 42.9%, 0%, 36.9%)
CIE-LABlab(46.15, 30.75, -30.65)
CIE-LCHlch(46.15, 43.41, 315.10°)
OKLaboklab(54.83% 0.0759 -0.0849)
OKLCHoklch(54.83% 0.114 311.8)
XYZxyz(20.2507, 15.3788, 35.6129)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CA1 #76A15C
analogous
#645CA1 #875CA1 #A15C99
triadic
#875CA1 #A1875C #5CA187
tetradic
#875CA1 #A1645C #76A15C #5C99A1
square
#875CA1 #A1645C #76A15C #5C99A1
split-complementary
#875CA1 #99A15C #5CA164
monochromatic
#462F53 #66467A #875CA1 #A482B8 #C0A9CE

Accessibility & contrast

On white

5.15
#875CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#875CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CA1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CA1#FFFFFF#000000##FFFFFF
##875CA11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA4
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#846677
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875ca1;
/* rgb */ color: rgb(135, 92, 161);
/* oklch */ color: oklch(54.8% 0.114 311.8);
Tailwind
colors: {
  custom: {
    50: '#ab8bbd',
    500: '#875ca1',
    950: '#000000',
  },
}
SCSS
$custom: #875ca1;
$custom-light: #ab8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#875ca1",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 277.391,
    "s": 27.273,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.11389,
    "h": 311.8
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#875CA1
secondary
#A9BC9D
accent
#C46488
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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