#875AA1#875AA1

#875AA1 is a mid, moderate violet. Relative luminance 0.150; OKLCH L 54.5% C 0.117 H 312.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#875AA1
RGBrgb(135, 90, 161)
HSLhsl(278, 28%, 49%)
HSVhsv(278, 44%, 63%)
CMYKcmyk(16.1%, 44.1%, 0%, 36.9%)
CIE-LABlab(45.68, 31.91, -31.37)
CIE-LCHlch(45.68, 44.75, 315.49°)
OKLaboklab(54.48% 0.0789 -0.087)
OKLCHoklch(54.48% 0.117 312.2)
XYZxyz(20.0798, 15.0368, 35.5559)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AA1 #74A15A
analogous
#645AA1 #875AA1 #A15A98
triadic
#875AA1 #A1875A #5AA187
tetradic
#875AA1 #A1645A #74A15A #5A98A1
square
#875AA1 #A1645A #74A15A #5A98A1
split-complementary
#875AA1 #98A15A #5AA164
monochromatic
#452E52 #66447A #875AA1 #A480B8 #C0A7CE

Accessibility & contrast

On white

5.24
#875AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#875AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AA1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AA1#FFFFFF#000000##FFFFFF
##875AA11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA4
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#846476
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #875aa1;
/* rgb */ color: rgb(135, 90, 161);
/* oklch */ color: oklch(54.5% 0.117 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab89bd',
    500: '#875aa1',
    950: '#000000',
  },
}
SCSS
$custom: #875aa1;
$custom-light: #ab89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#875aa1",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 278.028,
    "s": 28.287,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.11745,
    "h": 312.2
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#875AA1
secondary
#A7BC9B
accent
#C56387
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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