#875E9A#875E9A

#875E9A is a mid, moderate purple. Relative luminance 0.155; OKLCH L 54.8% C 0.102 H 314.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#875E9A
RGBrgb(135, 94, 154)
HSLhsl(281, 24%, 49%)
HSVhsv(281, 39%, 60%)
CMYKcmyk(12.3%, 39%, 0%, 39.6%)
CIE-LABlab(46.30, 28.01, -26.27)
CIE-LCHlch(46.30, 38.40, 316.84°)
OKLaboklab(54.83% 0.0713 -0.0723)
OKLCHoklch(54.83% 0.102 314.6)
XYZxyz(19.8262, 15.4898, 32.5110)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875E9A #719A5E
analogous
#695E9A #875E9A #9A5E8F
triadic
#875E9A #9A875E #5E9A87
tetradic
#875E9A #9A695E #719A5E #5E8F9A
square
#875E9A #9A695E #719A5E #5E8F9A
split-complementary
#875E9A #8F9A5E #5E9A69
monochromatic
#44304E #664774 #875E9A #A482B3 #BFA8CA

Accessibility & contrast

On white

5.12
#875E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#875E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875E9A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875E9A#FFFFFF#000000##FFFFFF
##875E9A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9C
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#866675
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875e9a;
/* rgb */ color: rgb(135, 94, 154);
/* oklch */ color: oklch(54.8% 0.102 314.6);
Tailwind
colors: {
  custom: {
    50: '#ab8cb8',
    500: '#875e9a',
    950: '#000000',
  },
}
SCSS
$custom: #875e9a;
$custom-light: #ab8cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#875e9a",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 281,
    "s": 24.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.10161,
    "h": 314.6
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#875E9A
secondary
#A5B89B
accent
#C16783
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #875E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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