#875FA0#875FA0

#875FA0 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 55.3% C 0.107 H 311.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#875FA0
RGBrgb(135, 95, 160)
HSLhsl(277, 25%, 50%)
HSVhsv(277, 41%, 63%)
CMYKcmyk(15.6%, 40.6%, 0%, 37.3%)
CIE-LABlab(46.81, 28.78, -29.02)
CIE-LCHlch(46.81, 40.87, 314.75°)
OKLaboklab(55.31% 0.0711 -0.0803)
OKLCHoklch(55.31% 0.107 311.5)
XYZxyz(20.4279, 15.8737, 35.2387)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FA0 #78A05F
analogous
#675FA0 #875FA0 #A05F98
triadic
#875FA0 #A0875F #5FA087
tetradic
#875FA0 #A0675F #78A05F #5F98A0
square
#875FA0 #A0675F #78A05F #5F98A0
split-complementary
#875FA0 #98A05F #5FA067
monochromatic
#463153 #67487A #875FA0 #A485B7 #C1ACCE

Accessibility & contrast

On white

5.03
#875FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875FA0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FA0#FFFFFF#000000##FFFFFF
##875FA01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA2
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#846878
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875fa0;
/* rgb */ color: rgb(135, 95, 160);
/* oklch */ color: oklch(55.3% 0.107 311.5);
Tailwind
colors: {
  custom: {
    50: '#ab8dbc',
    500: '#875fa0',
    950: '#000000',
  },
}
SCSS
$custom: #875fa0;
$custom-light: #ab8dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#875fa0",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 276.923,
    "s": 25.49,
    "l": 50
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.10724,
    "h": 311.5
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#875FA0
secondary
#AABC9F
accent
#C26689
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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