#875EA6#875EA6

#875EA6 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 55.4% C 0.117 H 309.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#875EA6
RGBrgb(135, 94, 166)
HSLhsl(274, 29%, 51%)
HSVhsv(274, 43%, 65%)
CMYKcmyk(18.7%, 43.4%, 0%, 34.9%)
CIE-LABlab(46.86, 30.74, -32.49)
CIE-LCHlch(46.86, 44.73, 313.42°)
OKLaboklab(55.44% 0.0738 -0.0902)
OKLCHoklch(55.44% 0.117 309.3)
XYZxyz(20.8760, 15.9098, 38.0401)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EA6 #7DA65E
analogous
#635EA6 #875EA6 #A65EA1
triadic
#875EA6 #A6875E #5EA687
tetradic
#875EA6 #A6635E #7DA65E #5EA1A6
square
#875EA6 #A6635E #7DA65E #5EA1A6
split-complementary
#875EA6 #A1A65E #5EA663
monochromatic
#483159 #674780 #875EA6 #A485BC #C2ADD2

Accessibility & contrast

On white

5.02
#875EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#875EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EA6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EA6#FFFFFF#000000##FFFFFF
##875EA61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875ea6;
/* rgb */ color: rgb(135, 94, 166);
/* oklch */ color: oklch(55.4% 0.117 309.3);
Tailwind
colors: {
  custom: {
    50: '#ab8cc0',
    500: '#875ea6',
    950: '#000000',
  },
}
SCSS
$custom: #875ea6;
$custom-light: #ab8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#875ea6",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 274.167,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.1166,
    "h": 309.3
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#875EA6
secondary
#AEC0A0
accent
#C5638D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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