#875EA3#875EA3

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

Color values

HEX#875EA3
RGBrgb(135, 94, 163)
HSLhsl(276, 27%, 50%)
HSVhsv(276, 42%, 64%)
CMYKcmyk(17.2%, 42.3%, 0%, 36.1%)
CIE-LABlab(46.71, 30.05, -30.95)
CIE-LCHlch(46.71, 43.13, 314.16°)
OKLaboklab(55.28% 0.0733 -0.0858)
OKLCHoklch(55.28% 0.113 310.5)
XYZxyz(20.6040, 15.8010, 36.6077)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA3 #7AA35E
analogous
#645EA3 #875EA3 #A35E9D
triadic
#875EA3 #A3875E #5EA387
tetradic
#875EA3 #A3645E #7AA35E #5E9DA3
square
#875EA3 #A3645E #7AA35E #5E9DA3
split-complementary
#875EA3 #9DA35E #5EA364
monochromatic
#473156 #67477D #875EA3 #A485B9 #C1ACD0

Accessibility & contrast

On white

5.05
#875EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#875EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EA3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA3#FFFFFF#000000##FFFFFF
##875EA31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#846879
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875ea3;
/* rgb */ color: rgb(135, 94, 163);
/* oklch */ color: oklch(55.3% 0.113 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab8cbe',
    500: '#875ea3',
    950: '#000000',
  },
}
SCSS
$custom: #875ea3;
$custom-light: #ab8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea3",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 275.652,
    "s": 27.273,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.11281,
    "h": 310.5
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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