#875FA4#875FA4

#875FA4 is a mid, moderate violet. Relative luminance 0.160; OKLCH L 55.5% C 0.112 H 309.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875FA4
RGBrgb(135, 95, 164)
HSLhsl(275, 27%, 51%)
HSVhsv(275, 42%, 64%)
CMYKcmyk(17.7%, 42.1%, 0%, 35.7%)
CIE-LABlab(47.00, 29.70, -31.09)
CIE-LCHlch(47.00, 43.00, 313.69°)
OKLaboklab(55.51% 0.0719 -0.0862)
OKLCHoklch(55.51% 0.112 309.8)
XYZxyz(20.7835, 16.0159, 37.1113)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FA4 #7CA45F
analogous
#645FA4 #875FA4 #A45F9E
triadic
#875FA4 #A4875F #5FA487
tetradic
#875FA4 #A4645F #7CA45F #5F9EA4
square
#875FA4 #A4645F #7CA45F #5F9EA4
split-complementary
#875FA4 #9EA45F #5FA464
monochromatic
#473257 #67487E #875FA4 #A486BA #C2ADD0

Accessibility & contrast

On white

5.00
#875FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#875FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FA4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FA4#FFFFFF#000000##FFFFFF
##875FA41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#84697A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875fa4;
/* rgb */ color: rgb(135, 95, 164);
/* oklch */ color: oklch(55.5% 0.112 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab8dbf',
    500: '#875fa4',
    950: '#000000',
  },
}
SCSS
$custom: #875fa4;
$custom-light: #ab8dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#875fa4",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 274.783,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.1123,
    "h": 309.8
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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