#875AA4#875AA4

#875AA4 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.6% C 0.121 H 311.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#875AA4
RGBrgb(135, 90, 164)
HSLhsl(276, 29%, 50%)
HSVhsv(276, 45%, 64%)
CMYKcmyk(17.7%, 45.1%, 0%, 35.7%)
CIE-LABlab(45.83, 32.60, -32.92)
CIE-LCHlch(45.83, 46.33, 314.72°)
OKLaboklab(54.63% 0.0794 -0.0915)
OKLCHoklch(54.63% 0.121 311)
XYZxyz(20.3475, 15.1439, 36.9659)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AA4 #77A45A
analogous
#625AA4 #875AA4 #A45A9C
triadic
#875AA4 #A4875A #5AA487
tetradic
#875AA4 #A4625A #77A45A #5A9CA4
square
#875AA4 #A4625A #77A45A #5A9CA4
split-complementary
#875AA4 #9CA45A #5AA462
monochromatic
#462F55 #66447C #875AA4 #A481BA #C0A9D0

Accessibility & contrast

On white

5.21
#875AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#875AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AA4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AA4#FFFFFF#000000##FFFFFF
##875AA41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA7
Deuteranopia (green-blind)
#566DA2
Tritanopia (blue-blind)
#846577
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #875aa4;
/* rgb */ color: rgb(135, 90, 164);
/* oklch */ color: oklch(54.6% 0.121 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab8abf',
    500: '#875aa4',
    950: '#000000',
  },
}
SCSS
$custom: #875aa4;
$custom-light: #ab8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#875aa4",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 276.486,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.12114,
    "h": 311
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#875AA4
secondary
#A9BE9C
accent
#C56289
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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