#875FB1#875FB1

#875FB1 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.2% C 0.129 H 305.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#875FB1
RGBrgb(135, 95, 177)
HSLhsl(269, 34%, 53%)
HSVhsv(269, 46%, 69%)
CMYKcmyk(23.7%, 46.3%, 0%, 30.6%)
CIE-LABlab(47.64, 32.78, -37.71)
CIE-LCHlch(47.64, 49.97, 311.00°)
OKLaboklab(56.2% 0.0742 -0.1054)
OKLCHoklch(56.2% 0.129 305.1)
XYZxyz(22.0180, 16.5098, 43.6132)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FB1 #89B15F
analogous
#5F60B1 #875FB1 #B05FB1
triadic
#875FB1 #B1875F #5FB187
tetradic
#875FB1 #B15F60 #89B15F #5FB1B0
square
#875FB1 #B15F60 #89B15F #5FB1B0
split-complementary
#875FB1 #B1B05F #60B15F
monochromatic
#4A3165 #69458E #875FB1 #A688C5 #C5B1D9

Accessibility & contrast

On white

4.88
#875FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#875FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FB1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FB1#FFFFFF#000000##FFFFFF
##875FB11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B4
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#806D7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875fb1;
/* rgb */ color: rgb(135, 95, 177);
/* oklch */ color: oklch(56.2% 0.129 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac8dc8',
    500: '#875fb1',
    950: '#000000',
  },
}
SCSS
$custom: #875fb1;
$custom-light: #ac8dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#875fb1",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 269.268,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.12887,
    "h": 305.1
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#875FB1
secondary
#B6C8A4
accent
#CB5D95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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