#875AB2#875AB2

#875AB2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.139 H 306.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#875AB2
RGBrgb(135, 90, 178)
HSLhsl(271, 36%, 53%)
HSVhsv(271, 49%, 70%)
CMYKcmyk(24.2%, 49.4%, 0%, 30.2%)
CIE-LABlab(46.55, 35.90, -40.01)
CIE-LCHlch(46.55, 53.76, 311.90°)
OKLaboklab(55.4% 0.0814 -0.1121)
OKLCHoklch(55.4% 0.139 306)
XYZxyz(21.6821, 15.6777, 43.9947)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AB2 #85B25A
analogous
#5B5AB2 #875AB2 #B25AB1
triadic
#875AB2 #B2875A #5AB287
tetradic
#875AB2 #B25B5A #85B25A #5AB1B2
square
#875AB2 #B25B5A #85B25A #5AB1B2
split-complementary
#875AB2 #B1B25A #5AB25B
monochromatic
#492E63 #68428D #875AB2 #A584C5 #C4ADD9

Accessibility & contrast

On white

5.08
#875AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#875AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AB2#FFFFFF#000000##FFFFFF
##875AB21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#80697E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875ab2;
/* rgb */ color: rgb(135, 90, 178);
/* oklch */ color: oklch(55.4% 0.139 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac8ac9',
    500: '#875ab2',
    950: '#000000',
  },
}
SCSS
$custom: #875ab2;
$custom-light: #ac8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#875ab2",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 270.682,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.13852,
    "h": 306
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#875AB2
secondary
#B3C7A1
accent
#CC5B93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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