#875BB1#875BB1

#875BB1 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.136 H 306.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#875BB1
RGBrgb(135, 91, 177)
HSLhsl(271, 36%, 53%)
HSVhsv(271, 49%, 69%)
CMYKcmyk(23.7%, 48.6%, 0%, 30.6%)
CIE-LABlab(46.72, 35.09, -39.16)
CIE-LCHlch(46.72, 52.58, 311.86°)
OKLaboklab(55.52% 0.0799 -0.1096)
OKLCHoklch(55.52% 0.136 306.1)
XYZxyz(21.6669, 15.8076, 43.4962)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB1 #85B15B
analogous
#5C5BB1 #875BB1 #B15BB0
triadic
#875BB1 #B1875B #5BB187
tetradic
#875BB1 #B15C5B #85B15B #5BB0B1
square
#875BB1 #B15C5B #85B15B #5BB0B1
split-complementary
#875BB1 #B0B15B #5BB15C
monochromatic
#492F63 #68438C #875BB1 #A584C5 #C4AED8

Accessibility & contrast

On white

5.05
#875BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#875BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB1#FFFFFF#000000##FFFFFF
##875BB11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#806A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb1;
/* rgb */ color: rgb(135, 91, 177);
/* oklch */ color: oklch(55.5% 0.136 306.1);
Tailwind
colors: {
  custom: {
    50: '#ac8ac9',
    500: '#875bb1',
    950: '#000000',
  },
}
SCSS
$custom: #875bb1;
$custom-light: #ac8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb1",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 270.698,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.13561,
    "h": 306.1
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#875BB1
secondary
#B3C7A1
accent
#CC5C93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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