#875EA4#875EA4

#875EA4 is a mid, moderate violet. Relative luminance 0.158; OKLCH L 55.3% C 0.114 H 310.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#875EA4
RGBrgb(135, 94, 164)
HSLhsl(275, 28%, 51%)
HSVhsv(275, 43%, 64%)
CMYKcmyk(17.7%, 42.7%, 0%, 35.7%)
CIE-LABlab(46.76, 30.28, -31.46)
CIE-LCHlch(46.76, 43.67, 313.90°)
OKLaboklab(55.33% 0.0734 -0.0873)
OKLCHoklch(55.33% 0.114 310.1)
XYZxyz(20.6940, 15.8369, 37.0814)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA4 #7BA45E
analogous
#645EA4 #875EA4 #A45E9E
triadic
#875EA4 #A4875E #5EA487
tetradic
#875EA4 #A4645E #7BA45E #5E9EA4
square
#875EA4 #A4645E #7BA45E #5E9EA4
split-complementary
#875EA4 #9EA45E #5EA464
monochromatic
#473157 #67477E #875EA4 #A485BA #C1ACD0

Accessibility & contrast

On white

5.04
#875EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#875EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EA4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA4#FFFFFF#000000##FFFFFF
##875EA41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#5970A2
Tritanopia (blue-blind)
#846979
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875ea4;
/* rgb */ color: rgb(135, 94, 164);
/* oklch */ color: oklch(55.3% 0.114 310.1);
Tailwind
colors: {
  custom: {
    50: '#ab8cbf',
    500: '#875ea4',
    950: '#000000',
  },
}
SCSS
$custom: #875ea4;
$custom-light: #ab8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea4",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 275.143,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.11407,
    "h": 310.1
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#875EA4
secondary
#ACBE9F
accent
#C4648C
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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