#875EAA#875EAA

#875EAA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.6% C 0.122 H 307.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#875EAA
RGBrgb(135, 94, 170)
HSLhsl(272, 31%, 52%)
HSVhsv(272, 45%, 67%)
CMYKcmyk(20.6%, 44.7%, 0%, 33.3%)
CIE-LABlab(47.05, 31.69, -34.53)
CIE-LCHlch(47.05, 46.87, 312.54°)
OKLaboklab(55.65% 0.0745 -0.0962)
OKLCHoklch(55.65% 0.122 307.8)
XYZxyz(21.2487, 16.0588, 40.0027)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EAA #81AA5E
analogous
#615EAA #875EAA #AA5EA7
triadic
#875EAA #AA875E #5EAA87
tetradic
#875EAA #AA615E #81AA5E #5EA7AA
square
#875EAA #AA615E #81AA5E #5EA7AA
split-complementary
#875EAA #A7AA5E #5EAA61
monochromatic
#49315D #684685 #875EAA #A586BF #C3AED4

Accessibility & contrast

On white

4.99
#875EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#875EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EAA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EAA#FFFFFF#000000##FFFFFF
##875EAA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#826A7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875eaa;
/* rgb */ color: rgb(135, 94, 170);
/* oklch */ color: oklch(55.6% 0.122 307.8);
Tailwind
colors: {
  custom: {
    50: '#ab8cc3',
    500: '#875eaa',
    950: '#000000',
  },
}
SCSS
$custom: #875eaa;
$custom-light: #ab8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#875eaa",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 272.368,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.12166,
    "h": 307.8
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#875EAA
secondary
#B1C3A1
accent
#C76190
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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