#875EA1#875EA1

#875EA1 is a mid, moderate violet. Relative luminance 0.157; OKLCH L 55.2% C 0.110 H 311.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#875EA1
RGBrgb(135, 94, 161)
HSLhsl(277, 26%, 50%)
HSVhsv(277, 42%, 63%)
CMYKcmyk(16.1%, 41.6%, 0%, 36.9%)
CIE-LABlab(46.62, 29.59, -29.91)
CIE-LCHlch(46.62, 42.07, 314.69°)
OKLaboklab(55.18% 0.0729 -0.0828)
OKLCHoklch(55.18% 0.11 311.3)
XYZxyz(20.4263, 15.7299, 35.6714)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA1 #78A15E
analogous
#655EA1 #875EA1 #A15E9A
triadic
#875EA1 #A1875E #5EA187
tetradic
#875EA1 #A1655E #78A15E #5E9AA1
square
#875EA1 #A1655E #78A15E #5E9AA1
split-complementary
#875EA1 #9AA15E #5EA165
monochromatic
#463154 #67477A #875EA1 #A485B8 #C1ABCE

Accessibility & contrast

On white

5.07
#875EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#875EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EA1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA1#FFFFFF#000000##FFFFFF
##875EA11.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516CA3
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#846878
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875ea1;
/* rgb */ color: rgb(135, 94, 161);
/* oklch */ color: oklch(55.2% 0.110 311.3);
Tailwind
colors: {
  custom: {
    50: '#ab8cbd',
    500: '#875ea1',
    950: '#000000',
  },
}
SCSS
$custom: #875ea1;
$custom-light: #ab8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea1",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 276.716,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.1103,
    "h": 311.3
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#875EA1
secondary
#AABC9E
accent
#C36589
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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