#875BB0#875BB0

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

Color values

HEX#875BB0
RGBrgb(135, 91, 176)
HSLhsl(271, 35%, 52%)
HSVhsv(271, 48%, 69%)
CMYKcmyk(23.3%, 48.3%, 0%, 31%)
CIE-LABlab(46.67, 34.85, -38.66)
CIE-LCHlch(46.67, 52.04, 312.04°)
OKLaboklab(55.46% 0.0797 -0.1081)
OKLCHoklch(55.46% 0.134 306.4)
XYZxyz(21.5676, 15.7678, 42.9732)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB0 #84B05B
analogous
#5D5BB0 #875BB0 #B05BAE
triadic
#875BB0 #B0875B #5BB087
tetradic
#875BB0 #B05D5B #84B05B #5BAEB0
square
#875BB0 #B05D5B #84B05B #5BAEB0
split-complementary
#875BB0 #AEB05B #5BB05D
monochromatic
#492F62 #68438B #875BB0 #A584C4 #C3AED8

Accessibility & contrast

On white

5.06
#875BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#875BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB0#FFFFFF#000000##FFFFFF
##875BB01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB3
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#81697D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb0;
/* rgb */ color: rgb(135, 91, 176);
/* oklch */ color: oklch(55.5% 0.134 306.4);
Tailwind
colors: {
  custom: {
    50: '#ac8ac8',
    500: '#875bb0',
    950: '#000000',
  },
}
SCSS
$custom: #875bb0;
$custom-light: #ac8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb0",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 271.059,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.13434,
    "h": 306.4
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#875BB0
secondary
#B3C6A1
accent
#CB5D92
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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