#875EA7#875EA7

#875EA7 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 55.5% C 0.118 H 308.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#875EA7
RGBrgb(135, 94, 167)
HSLhsl(274, 29%, 51%)
HSVhsv(274, 44%, 65%)
CMYKcmyk(19.2%, 43.7%, 0%, 34.5%)
CIE-LABlab(46.90, 30.98, -33.00)
CIE-LCHlch(46.90, 45.26, 313.19°)
OKLaboklab(55.49% 0.074 -0.0917)
OKLCHoklch(55.49% 0.118 308.9)
XYZxyz(20.9681, 15.9466, 38.5251)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA7 #7EA75E
analogous
#625EA7 #875EA7 #A75EA2
triadic
#875EA7 #A7875E #5EA787
tetradic
#875EA7 #A7625E #7EA75E #5EA2A7
square
#875EA7 #A7625E #7EA75E #5EA2A7
split-complementary
#875EA7 #A2A75E #5EA762
monochromatic
#48315A #684781 #875EA7 #A486BD #C2ADD2

Accessibility & contrast

On white

5.01
#875EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#875EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EA7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA7#FFFFFF#000000##FFFFFF
##875EA71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DAA
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#83697A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875ea7;
/* rgb */ color: rgb(135, 94, 167);
/* oklch */ color: oklch(55.5% 0.118 308.9);
Tailwind
colors: {
  custom: {
    50: '#ab8cc1',
    500: '#875ea7',
    950: '#000000',
  },
}
SCSS
$custom: #875ea7;
$custom-light: #ab8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea7",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 273.699,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.11787,
    "h": 308.9
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#875EA7
secondary
#AEC1A0
accent
#C6628E
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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