#875AA5#875AA5

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

Color values

HEX#875AA5
RGBrgb(135, 90, 165)
HSLhsl(276, 29%, 50%)
HSVhsv(276, 45%, 65%)
CMYKcmyk(18.2%, 45.5%, 0%, 35.3%)
CIE-LABlab(45.88, 32.83, -33.43)
CIE-LCHlch(45.88, 46.85, 314.48°)
OKLaboklab(54.69% 0.0796 -0.093)
OKLCHoklch(54.69% 0.122 310.6)
XYZxyz(20.4381, 15.1802, 37.4434)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AA5 #78A55A
analogous
#615AA5 #875AA5 #A55A9E
triadic
#875AA5 #A5875A #5AA587
tetradic
#875AA5 #A5615A #78A55A #5A9EA5
square
#875AA5 #A5615A #78A55A #5A9EA5
split-complementary
#875AA5 #9EA55A #5AA561
monochromatic
#462F56 #67447D #875AA5 #A482BB #C1A9D0

Accessibility & contrast

On white

5.20
#875AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875AA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AA5#FFFFFF#000000##FFFFFF
##875AA51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#846678
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875aa5;
/* rgb */ color: rgb(135, 90, 165);
/* oklch */ color: oklch(54.7% 0.122 310.6);
Tailwind
colors: {
  custom: {
    50: '#ab8ac0',
    500: '#875aa5',
    950: '#000000',
  },
}
SCSS
$custom: #875aa5;
$custom-light: #ab8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#875aa5",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 276,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.12237,
    "h": 310.6
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#875AA5
secondary
#AABE9D
accent
#C6628A
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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