#875BA2#875BA2

#875BA2 is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.7% C 0.117 H 311.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#875BA2
RGBrgb(135, 91, 162)
HSLhsl(277, 28%, 50%)
HSVhsv(277, 44%, 64%)
CMYKcmyk(16.7%, 43.8%, 0%, 36.5%)
CIE-LABlab(45.96, 31.56, -31.53)
CIE-LCHlch(45.96, 44.61, 315.03°)
OKLaboklab(54.7% 0.0776 -0.0875)
OKLCHoklch(54.7% 0.117 311.6)
XYZxyz(20.2532, 15.2421, 36.0505)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BA2 #76A25B
analogous
#645BA2 #875BA2 #A25B9A
triadic
#875BA2 #A2875B #5BA287
tetradic
#875BA2 #A2645B #76A25B #5B9AA2
square
#875BA2 #A2645B #76A25B #5B9AA2
split-complementary
#875BA2 #9AA25B #5BA264
monochromatic
#462F54 #66457B #875BA2 #A482B9 #C0A9CF

Accessibility & contrast

On white

5.19
#875BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#875BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BA2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BA2#FFFFFF#000000##FFFFFF
##875BA21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875ba2;
/* rgb */ color: rgb(135, 91, 162);
/* oklch */ color: oklch(54.7% 0.117 311.6);
Tailwind
colors: {
  custom: {
    50: '#ab8abe',
    500: '#875ba2',
    950: '#000000',
  },
}
SCSS
$custom: #875ba2;
$custom-light: #ab8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#875ba2",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 277.183,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.1169,
    "h": 311.6
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#875BA2
secondary
#A9BD9C
accent
#C46388
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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