#875CA2#875CA2

#875CA2 is a mid, moderate violet. Relative luminance 0.154; OKLCH L 54.9% C 0.115 H 311.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#875CA2
RGBrgb(135, 92, 162)
HSLhsl(277, 28%, 50%)
HSVhsv(277, 43%, 64%)
CMYKcmyk(16.7%, 43.2%, 0%, 36.5%)
CIE-LABlab(46.20, 30.98, -31.16)
CIE-LCHlch(46.20, 43.94, 314.83°)
OKLaboklab(54.88% 0.0761 -0.0864)
OKLCHoklch(54.88% 0.115 311.4)
XYZxyz(20.3393, 15.4142, 36.0792)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CA2 #77A25C
analogous
#645CA2 #875CA2 #A25C9A
triadic
#875CA2 #A2875C #5CA287
tetradic
#875CA2 #A2645C #77A25C #5C9AA2
square
#875CA2 #A2645C #77A25C #5C9AA2
split-complementary
#875CA2 #9AA25C #5CA264
monochromatic
#463054 #66467B #875CA2 #A483B8 #C0AACF

Accessibility & contrast

On white

5.14
#875CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875CA2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CA2#FFFFFF#000000##FFFFFF
##875CA21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA5
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#846677
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875ca2;
/* rgb */ color: rgb(135, 92, 162);
/* oklch */ color: oklch(54.9% 0.115 311.4);
Tailwind
colors: {
  custom: {
    50: '#ab8bbe',
    500: '#875ca2',
    950: '#000000',
  },
}
SCSS
$custom: #875ca2;
$custom-light: #ab8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#875ca2",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 276.857,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.11513,
    "h": 311.4
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#875CA2
secondary
#A9BD9D
accent
#C46489
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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