#875EA2#875EA2

#875EA2 is a mid, moderate violet. Relative luminance 0.158; OKLCH L 55.2% C 0.112 H 310.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#875EA2
RGBrgb(135, 94, 162)
HSLhsl(276, 27%, 50%)
HSVhsv(276, 42%, 64%)
CMYKcmyk(16.7%, 42%, 0%, 36.5%)
CIE-LABlab(46.67, 29.82, -30.43)
CIE-LCHlch(46.67, 42.60, 314.42°)
OKLaboklab(55.23% 0.0731 -0.0843)
OKLCHoklch(55.23% 0.112 310.9)
XYZxyz(20.5148, 15.7653, 36.1377)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA2 #79A25E
analogous
#655EA2 #875EA2 #A25E9B
triadic
#875EA2 #A2875E #5EA287
tetradic
#875EA2 #A2655E #79A25E #5E9BA2
square
#875EA2 #A2655E #79A25E #5E9BA2
split-complementary
#875EA2 #9BA25E #5EA265
monochromatic
#463155 #67477B #875EA2 #A485B8 #C1ACCF

Accessibility & contrast

On white

5.06
#875EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875EA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA2#FFFFFF#000000##FFFFFF
##875EA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#846878
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875ea2;
/* rgb */ color: rgb(135, 94, 162);
/* oklch */ color: oklch(55.2% 0.112 310.9);
Tailwind
colors: {
  custom: {
    50: '#ab8cbe',
    500: '#875ea2',
    950: '#000000',
  },
}
SCSS
$custom: #875ea2;
$custom-light: #ab8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea2",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 276.176,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.11155,
    "h": 310.9
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#875EA2
secondary
#ABBD9F
accent
#C3658A
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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